# CVE-2021-33829: ckeditor4 vulnerable to cross-site scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.19%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-05-26T18:33:55.000Z
- Modified: 2026-09-19T17:44:28.000Z
- Also known as: GHSA-rgx6-rjj4-c388, BIT-DRUPAL-2021-33829, DRUPAL-CORE-2021-003
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ckeditor4 (npm): from 4.14.0 before 4.16.1
- drupal/core (Packagist): from 7.0.0 before 7.80; from 8.0.0 before 8.9.16; from 9.0.0 before 9.0.14; from 9.1.0 before 9.1.9
- drupal/drupal (Packagist): from 7.0.0 before 7.80; from 8.0.0 before 8.9.16; from 9.0.0 before 9.0.14; from 9.1.0 before 9.1.9
- ckeditor ckeditor: from 4.14.0 before 4.16.1
- fedoraproject fedora: 33; 34; 35
- drupal drupal: from 8.9.0 before 8.9.16; from 9.0.0 before 9.0.14; from 9.1.0 before 9.1.9
- debian debian_linux: 9.0
- drupal (Bitnami): from 8.9.0 before 8.9.16; from 9.0.0 before 9.0.14; from 9.1.0 before 9.1.9

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.drupal.org/sa-core-2021-003> (advisory, patch, third-party-advisory, web)
- <https://ckeditor.com/blog/ckeditor-4.16.1-with-accessibility-enhancements/#improvements-for-comments-in-html-parser> (advisory, patch, release-notes, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00007.html> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33829> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2021-33829](https://www.cve.org/CVERecord?id=CVE-2021-33829), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rgx6-rjj4-c388](https://github.com/advisories/GHSA-rgx6-rjj4-c388), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CORE-2021-003](https://osv.dev/vulnerability/DRUPAL-CORE-2021-003), MIT, modified 2026-09-19
- NVD: [CVE-2021-33829](https://nvd.nist.gov/vuln/detail/CVE-2021-33829), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DRUPAL-2021-33829](https://osv.dev/vulnerability/BIT-DRUPAL-2021-33829), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-33829 · Whole record: https://cve.day/CVE-2021-33829.json · Rebuilt by cve.day 2026-11-25T22:58:01.728Z
