Live threats

All CVEs / Ckeditor

CVE-2018-9861Ckeditor Enhanced Image

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Enhanced Image.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
ckeditorenhanced_image≥ 4.5.10 < 4.9.2
drupaldrupal≥ 8.0.0 < 8.4.7
drupaldrupal≥ 8.5.0 < 8.5.2

Official sources

References

Links published by the sources. Open them with care.