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
ckeditor4npm
- 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.1drupal/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.80drupal/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.16drupal/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.14drupal/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.9drupal/drupalComposer
- 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.80drupal/drupalComposer
- 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.16drupal/drupalComposer
- 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.14drupal/drupalComposer
- 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.9Details
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-33829
- Linkckeditor.com/blog/ckeditor-4.16.1-with-accessibility-enhancements/#improvements-for-comments-in-html-parser
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2021-33829.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2021-33829.yaml
- Packagegithub.com/ckeditor/ckeditor4
- Linklists.debian.org/debian-lts-announce/2021/11/msg00007.html
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD
- Linkwww.drupal.org/sa-core-2021-003
- Linkwww.npmjs.com/package/ckeditor4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.