CKEditor: Cross-site scripting (XSS) in the engine packageGHSA-v6mg-96c6-gmpq
LOWFix: ckeditor/ckeditor5@4d9c5bbGHSA-v6mg-96c6-gmpq is a low-severity (CVSS 3.1) Cross-site Scripting (XSS) vulnerability in ckeditor5. A fix is available for ckeditor5 — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-v6mg-96c6-gmpq.
EPSS Exploitation Probability
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
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.
ckeditor5npm@ckeditor/ckeditor5-enginenpmDescription
Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered in the CKEditor 5 engine. This vulnerability could be triggered by inserting specially crafted markup under a specific General HTML Support configuration that allows inserting objects, leading to unauthorized JavaScript code execution in a browser context isolated from the origin of the application embedding the editor.
This vulnerability affects only installations where General HTML Support is enabled and configured to allow the affected HTML content.
Patches
The problem has been recognized and patched. The fix will be available in version 48.5.1 (and above) and 47.7.4 (LTS).
For more information
Email us at [email protected] if you have any questions or comments about this advisory.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | ckeditor5 | ≥ 29.0.0&&< 47.7.4 | 47.7.4npm install ckeditor5@47.7.4 |
| 📦npm | @ckeditor/ckeditor5-engine | ≥ 29.0.0&&< 47.7.4 | 47.7.4npm install @ckeditor/ckeditor5-engine@47.7.4 |
| 📦npm | ckeditor5 | ≥ 48.0.0&&< 48.5.1 | 48.5.1npm install ckeditor5@48.5.1 |
| 📦npm | @ckeditor/ckeditor5-engine | ≥ 48.0.0&&< 48.5.1 | 48.5.1npm install @ckeditor/ckeditor5-engine@48.5.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ckeditor5, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update ckeditor5 to 47.7.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v6mg-96c6-gmpq is resolved across your whole dependency graph.
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.
Frequently Asked Questions
Is GHSA-v6mg-96c6-gmpq in your dependencies?
Find it across npm, including transitive dependencies.