CVE-2018-9861
Drupal · CVE-2018-9861
Cross-site scripting (XSS) vulnerability in the Enhanced Image (aka image2) plugin for CKEditor (in versions 4.5.10 through 4.9.1; fixed in 4.9.2), as used in Drupal 8 before 8.4.7 and 8.5.x before 8.5.2 and other products, allows remote attackers to inject arbitrary web script through a crafted IMG element.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.719% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T19:06:01.783Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:16.369Z | OSV |
| affected | verified | 2026-11-19T19:04:19.960Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:19.960Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.drupal.org/sa-core-2018-003",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/103924",
"name": "103924",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T07:24:56.351Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "DRUPAL-CORE-2018-003",
"aliases": [
"CVE-2018-9861",
"GHSA-g78h-pf65-46rv"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.4.7"
}
],
"database_specific": {
"constraint": ">= 8.0.0 <8.4.7"
}
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.5.0"
},
{
"fixed": "8.5.2"
}
],
"database_specific": {
"constraint": ">=8.5.0 <8.5.2"
}
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6",
"8.5.0",
"8.5.1"
],
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/core/DRUPAL-CORE-2018-003.json",
"affected_versions": ">= 8.0.0 <8.4.7 || >=8.5.0 <8.5.2"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.drupal.org/sa-core-2018-003",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-g78h-pf65-46rv",
"aliases": [
"CVE-2018-9861",
"DRUPAL-CORE-2018-003"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.5.0"
},
{
"fixed": "8.5.2"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.5.0",
"8.5.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g78h-pf65-46rv/GHSA-g78h-pf65-46rv.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.4.7"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta8",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g78h-pf65-46rv/GHSA-g78h-pf65-46rv.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-9861",
"type": "ADVISORY"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml",
"type": "WEB"
},
{
"url": "https://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md",
"type": "WEB"
},
{
"url": "https://www.drupal.org/sa-core-2018-003",
"type": "WEB"
},
{
"url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/103924",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2018-04-19T17:29:00Z",
"github_reviewed_at": "2023-10-19T18:50:44Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.4.7 | Official record |
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.5.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:19.960ZArchived source JSON
Source publication: 2018-04-19T17:00:00.000Z
Source modification: 2024-08-05T07:24:56.351ZDocument fingerprint
5ebc2187080bc114933514ce0024f3d587f6ff0d3acdf20abf0e728376ed500e - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2018-04-18T15:34:09.000Z
Source modification: 2025-12-10T23:41:15.971ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2022-05-14T00:56:02.000Z
Source modification: 2025-12-10T23:41:15.971ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b - FIRST EPSSConsulted: 2026-11-19T19:06:01.783ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c3572b0b625d548acf000907dca489df3ebb3e163f1921759c98f8a0db66e6fd
Official status history
- UNKNOWN → PUBLISHED · · evidence