CVE-2018-9861
MEDIUM6.1EPSS 0.37%Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS)
Published: 5/14/2022Modified: 12/10/2025
Description
The Enhanced Image (aka [image2](https://github.com/ckeditor/ckeditor4/tree/master/plugins/image2)) plugin for CKEditor in versions 4.5.10 through 4.9.1; fixed in 4.9.2, and as used in Drupal 8 before 8.4.7 and 8.5.x before 8.5.2 and other products, is vulnerable to cross-site scripting because it allows remote attackers to inject arbitrary web script through a crafted IMG element.
Affected packages (4)
- npm/ckeditor-dev>= 4.5.10, < 4.9.2
- Packagist/drupal/core>= 8.0.0, < 8.4.7 | >= 8.5.0, < 8.5.2
- Packagist/drupal/core>= 8.5.0, < 8.5.2
- Packagist/drupal/drupal>= 8.0, < 8.4.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-9861
- WEBhttps://github.com/ckeditor/ckeditor-dev/blob/master/CHANGES.md
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-9861.yaml
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-9861.yaml
- WEBhttps://www.drupal.org/sa-core-2018-003
- WEBhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- WEBhttp://www.securityfocus.com/bid/103924