Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm🐘 Packagist
Not in CISA KEV
MEDIUM severity

CVE-2021-33829 — ckeditor4

MEDIUM

CVE-2021-33829 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in ckeditor4. A fix is available for ckeditor4 — see the affected versions and patch details below.

ckeditor4 vulnerable to cross-site scripting

Also known asBIT-drupal-2021-33829DRUPAL-CORE-2021-003GHSA-rgx6-rjj4-c388
Published
Updated
Affected
9 pkgs
Patched
9 / 9
Exploits
None indexed
Exploitation data as of Oct 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs88th percentile — riskier than 88% of all scored CVEsHighest risk
0.00%28.1%56.2%84.2%49.7%3.2%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-33829 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

9 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

27other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
ckeditor4npm
56Kdownloads / week

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.

Affected Packages

9 total 9 fixed
EcosystemPackageVulnerable rangeFix
📦npmckeditor4≥ 4.14.0&&< 4.16.14.16.1npm install ckeditor4@4.16.1
🐘Packagistdrupal/core≥ 7.0.0&&< 7.807.80composer require drupal/core:^7.80
🐘Packagistdrupal/core≥ 8.0.0&&< 8.9.168.9.16composer require drupal/core:^8.9.16
🐘Packagistdrupal/core≥ 9.0.0&&< 9.0.149.0.14composer require drupal/core:^9.0.14
🐘Packagistdrupal/core≥ 9.1.0&&< 9.1.99.1.9composer require drupal/core:^9.1.9
🐘Packagistdrupal/drupal≥ 7.0.0&&< 7.807.80composer require drupal/drupal:^7.80

Affected Products

4 products · 8 configurations
Application
ckeditorckeditor
≥ 4.14.0 && < 4.16.1
range
OS
debian linuxdebian
1 version
9.0
Application
drupaldrupal
≥ 9.1.0 && < 9.1.9
range
OS
fedorafedoraproject
3 versions
333435

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ckeditor4, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update ckeditor4 to 4.16.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-33829 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

How to detect CVE-2021-33829

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-33829 -u https://target
Template
Drupal 7 CKEditor XSS
Severity
medium
Impact
Attackers can execute arbitrary JavaScript in the context of the victim's browser, leading to session hijacking or malicious actions.
Remediation
Update to version 4.16.1 or later.

Template by ProjectDiscovery nuclei-templates (0x_Akoko), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-33829 in your dependencies?

Find it across npm, Packagist, including transitive dependencies.

CVE-2021-33829: ckeditor4 XSS — Fixed in 4.16.1