CVE-2026-28343: CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package
Impact A Cross-Site Scripting (XSS) vulnerability has been discovered in the General HTML Support feature. This vulnerability could be triggered by inserting specially crafted markup, leading to unauthorized JavaScript code execution, if the editor instance used an unsafe General HTML Support configuration.
Published Mar 4, 2026 · Updated Mar 19, 2026
Affected packages
@ckeditor/ckeditor5-html-support
- Ecosystem
- npm
- Affected
- >= 29.0.0, < 47.6.0
- Fixed in
- 47.6.0
- Check
npm ls @ckeditor/ckeditor5-html-support
ckeditor5
- Ecosystem
- npm
- Affected
- >= 29.0.0, < 47.6.0
- Fixed in
- 47.6.0
- Check
npm ls ckeditor5
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A Cross-Site Scripting (XSS) vulnerability has been discovered in the General HTML Support feature. This vulnerability could be triggered by inserting specially crafted markup, leading to unauthorized JavaScript code execution, if the editor instance used an unsafe General HTML Support configuration.
This vulnerability affects only installations where the editor configuration meets the following criteria:
- General HTML Support is enabled,
- General HTML Support configuration allows inserting unsafe markup (see Security section to learn more).
Patches
The problem has been recognized and patched. The fix will be available in version 47.6.0 (and above).
Workarounds
CKEditor 5 recommends configuring General HTML Support securely to ensure that unsafe content is not accepted. Please refer to the Security section for detailed guidance.
Credits
CKEditor 5 would like to thank:
- Emilio Kevin
- Jeongwoo Lee, Younsoung Kim, Minseok Kim and Jinyeong Kim from ENKI Whitehat
for responsibly reporting this vulnerability.
For more information
Email us at [[email protected]](mailto:[email protected]) if you have any questions or comments about this advisory.
Credited to mhassan1.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116687
CKEditor: Cross-site scripting (XSS) in the engine package
low3.1Oct 27, 2026CVE-2026-116688
CKEditor: Cross-site scripting (XSS) in the engine package
high8.1Oct 27, 2026CVE-2025-58064
CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package
low2.3Sep 3, 2025CVE-2024-45613
Cross-site scripting (XSS) in the clipboard package
medium7.2Sep 25, 2024
