MediumGHSA-g78h-pf65-46rvCVE-2018-9861DRUPAL-CORE-2018-003

Enhanced Image plugin for CKEditor is vulnerable to Cross-site scripting (XSS)

Published 14 May 2022 · Updated 10 Dec 2025

Affected packages

drupal/coreComposer
Affected
>=8.5.0 <8.5.2
Fixed in
8.5.2
Update to the fixed version for your release line, for example:composer require drupal/core:^8.5.2
Affected
>=4.5.10 <4.9.2
Fixed in
4.9.2
Update to the fixed version for your release line, for example:npm install ckeditor-dev@4.9.2
drupal/coreComposer
Affected
>=8.0 <8.4.7
Fixed in
8.4.7
Update to the fixed version for your release line, for example:composer require drupal/core:^8.4.7
Affected
>=8.0 <8.4.7
Fixed in
8.4.7
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.4.7
Affected
>=8.5 <8.5.2
Fixed in
8.5.2
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.5.2

Details

The Enhanced Image (aka 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.

Is GHSA-g78h-pf65-46rv in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.