MediumGHSA-rgx6-rjj4-c388BIT-drupal-2021-33829CVE-2021-33829DRUPAL-CORE-2021-003

ckeditor4 vulnerable to cross-site scripting

Published 21 Jun 2021 · Updated 10 Dec 2025

Affected packages

Affected
>=4.14.0 <4.16.1
Fixed in
4.16.1
Update to the fixed version for your release line, for example:npm install ckeditor4@4.16.1
drupal/coreComposer
Affected
>=7.0.0 <7.80
Fixed in
7.80
Update to the fixed version for your release line, for example:composer require drupal/core:^7.80
drupal/coreComposer
Affected
>=8.0.0 <8.9.16
Fixed in
8.9.16
Update to the fixed version for your release line, for example:composer require drupal/core:^8.9.16
drupal/coreComposer
Affected
>=9.0.0 <9.0.14
Fixed in
9.0.14
Update to the fixed version for your release line, for example:composer require drupal/core:^9.0.14
drupal/coreComposer
Affected
>=9.1.0 <9.1.9
Fixed in
9.1.9
Update to the fixed version for your release line, for example:composer require drupal/core:^9.1.9
Affected
>=7.0.0 <7.80
Fixed in
7.80
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.80
Affected
>=8.0.0 <8.9.16
Fixed in
8.9.16
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.9.16
Affected
>=9.0.0 <9.0.14
Fixed in
9.0.14
Update to the fixed version for your release line, for example:composer require drupal/drupal:^9.0.14
Affected
>=9.1.0 <9.1.9
Fixed in
9.1.9
Update to the fixed version for your release line, for example:composer require drupal/drupal:^9.1.9

Details

A cross-site scripting (XSS) vulnerability in the HTML Data Processor in CKEditor 4 4.14.0 through 4.16.x before 4.16.1 allows remote attackers to inject executable JavaScript code through a crafted comment because --!> is mishandled.

Is GHSA-rgx6-rjj4-c388 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 ckeditor4, and gives you the command that fixes it.

References

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