CVE-2018-9861Ckeditor Enhanced Image
Medium 6.1 No auth needed
Follow: this CVE · Ckeditor · Ckeditor Enhanced Image We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Apr 19, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Enhanced Image.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.4.7 |
8.4.7 |
composer require "drupal/core:^8.4.7" |
| Packagist | drupal/core |
≥ 8.5.0 < 8.5.2 |
8.5.2 |
composer require "drupal/core:^8.5.2" |
| Packagist | drupal/core |
≥ 8.5.0 < 8.5.2 |
8.5.2 |
composer require "drupal/core:^8.5.2" |
| Packagist | drupal/core |
≥ 8.0 < 8.4.7 |
8.4.7 |
composer require "drupal/core:^8.4.7" |
| Packagist | drupal/drupal |
≥ 8.0 < 8.4.7 |
8.4.7 |
composer require "drupal/drupal:^8.4.7" |
| Packagist | drupal/drupal |
≥ 8.5 < 8.5.2 |
8.5.2 |
composer require "drupal/drupal:^8.5.2" |
| npm | ckeditor-dev |
≥ 4.5.10 < 4.9.2 |
4.9.2 |
npm install ckeditor-dev@4.9.2 |
Per OSV / GitHub Advisories (DRUPAL-CORE-2018-003, GHSA-g78h-pf65-46rv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ckeditor | enhanced_image | ≥ 4.5.10 < 4.9.2 |
| drupal | drupal | ≥ 8.0.0 < 8.4.7 |
| drupal | drupal | ≥ 8.5.0 < 8.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com
- github.com Release Notes
- www.drupal.org Third Party Advisory
- www.oracle.com