CVE-2018-9861 json
Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS)
published 2018-04-18 8 y ago modified 2026-06-17 4 mo ago also DRUPAL-CORE-2018-003 , GHSA-g78h-pf65-46rv , EUVD-2022-3914
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist drupal/core 8.4.7, 8.5.2
- npm ckeditor-dev 4.9.2
- packagist drupal/drupal 8.4.7, 8.5.2
- ckeditor enhanced_image 4.9.2
- drupal drupal 8.4.7, 8.5.2
- ckeditor Ubuntu 18.04 LTS 4.5.7+dfsg-2ubuntu0.18.04.1
- ckeditor Ubuntu Pro 16.04 LTS 4.5.7+dfsg-2ubuntu0.16.04.1~esm1
ubuntu advisories UBUNTU-CVE-2018-9861
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-9861 updated cvss 7.1
ckeditor: Cross-site scripting (XSS) vulnerability when using image2 plugin
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.72% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/core | >=8.5.0, <8.5.2 >=8.0, <8.4.7 >=8.0.0, <8.4.7 |
8.5.2 8.4.7 |
| npm | ckeditor-dev | >=4.5.10, <4.9.2 |
4.9.2 |
| packagist | drupal/drupal | >=8.0, <8.4.7 >=8.5, <8.5.2 |
8.4.7 8.5.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/ckeditor/ckeditor-dev/blob/master/CHANGES.md
web, release-notes
-
drupal.org
/sa-core-2018-003
web, third-party-advisory
-
securityfocus.com
/bid/103924
vdb-entry, web
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-9861
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml
web
Sources
- CVE List CVE-2018-9861
- GitHub Advisory GHSA-g78h-pf65-46rv
- NVD CVE-2018-9861
- OSV DRUPAL-CORE-2018-003
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.