CVE-2021-33829
MEDIUM 6.1CVSS 3.1ckeditor4 vulnerable to cross-site scripting
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.
- Published
- 9 Jun 2021
- Last modified
- 19 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-drupal-2021-33829DRUPAL-CORE-2021-003GHSA-rgx6-rjj4-c388
- Sources
- NVDJSONOSV DRUPAL-CORE-2021-003JSONOSV GHSA-rgx6-rjj4-c388JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ckeditor | ckeditorcpe:2.3:a:ckeditor:ckeditor:*:*:*:*:*:*:*:* |
>= 4.14.0, < 4.16.1 | 4.16.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.9.0, < 8.9.16 | 8.9.16 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.14 | 9.0.14 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.1.0, < 9.1.9 | 9.1.9 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | drupal/core | >= 8.0.0, < 8.9.16; >= 9.0.0, < 9.0.14; >= 9.1.0, < 9.1.9 | 8.9.16, 9.0.14, 9.1.9 |
| OSV | npm | ckeditor4 | >= 4.14.0, < 4.16.1 | 4.16.1 |
| OSV | Packagist | drupal/core | >= 7.0.0, < 7.80 | 7.80 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 8.9.16 | 8.9.16 |
| OSV | Packagist | drupal/core | >= 9.0.0, < 9.0.14 | 9.0.14 |
| OSV | Packagist | drupal/core | >= 9.1.0, < 9.1.9 | 9.1.9 |
| OSV | Packagist | drupal/drupal | >= 7.0.0, < 7.80 | 7.80 |
| OSV | Packagist | drupal/drupal | >= 8.0.0, < 8.9.16 | 8.9.16 |
| OSV | Packagist | drupal/drupal | >= 9.0.0, < 9.0.14 | 9.0.14 |
| OSV | Packagist | drupal/drupal | >= 9.1.0, < 9.1.9 | 9.1.9 |
References
- https://ckeditor.com/blog/ckeditor-4.16.1-with-accessibility-enhancements/#improvements-for-comments-in-html-parser · Patch, Release Notes, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/11/msg00007.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/
- https://www.drupal.org/sa-core-2021-003 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-33829 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2021-33829.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2021-33829.yaml · WEB
- https://github.com/ckeditor/ckeditor4 · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD · WEB
- https://www.npmjs.com/package/ckeditor4 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Jun 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jun 2021)