CVE-2018-9861
MEDIUM 6.1CVSS 3.0Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS)
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.
- Published
- 19 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- DRUPAL-CORE-2018-003GHSA-g78h-pf65-46rv
- Sources
- NVDJSONOSV DRUPAL-CORE-2018-003JSONOSV GHSA-g78h-pf65-46rvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ckeditor | enhanced_imagecpe:2.3:a:ckeditor:enhanced_image:*:*:*:*:*:ckeditor:*:* |
>= 4.5.10, < 4.9.2 | 4.9.2 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.4.7 | 8.4.7 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.2 | 8.5.2 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 8.4.7; >= 8.5.0, < 8.5.2 | 8.4.7, 8.5.2 |
| OSV | Packagist | drupal/core | >= 8.5.0, < 8.5.2 | 8.5.2 |
| OSV | npm | ckeditor-dev | >= 4.5.10, < 4.9.2 | 4.9.2 |
| OSV | Packagist | drupal/core | >= 8.0, < 8.4.7 | 8.4.7 |
| OSV | Packagist | drupal/drupal | >= 8.0, < 8.4.7 | 8.4.7 |
| OSV | Packagist | drupal/drupal | >= 8.5, < 8.5.2 | 8.5.2 |
References
- http://www.securityfocus.com/bid/103924 · WEB
- https://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md · Release Notes, WEB
- https://www.drupal.org/sa-core-2018-003 · Third Party Advisory, WEB
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-9861 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Apr 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Apr 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2022)