NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm🐘 Packagist
Not in CISA KEV
MEDIUM severity

ckeditor4 vulnerable to cross-site scriptingGHSA-rgx6-rjj4-c388

MEDIUM

GHSA-rgx6-rjj4-c388 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.

Also known asBIT-drupal-2021-33829CVE-2021-33829DRUPAL-CORE-2021-003
Published
Updated
Affected
9 pkgs
Patched
9 / 9
Exploits
None indexed
Exploitation data as of Oct 29, 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

Where this sits among everything scored

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 GHSA-rgx6-rjj4-c388 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 GHSA-rgx6-rjj4-c388

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

nuclei -id ghsa-rgx6-rjj4-c388 -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.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

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 GHSA-rgx6-rjj4-c388 in your dependencies?

Find it across npm, Packagist, including transitive dependencies.

GHSA-rgx6-rjj4-c388: ckeditor4 XSS — Fixed in 4.16.1