ADVISORIES

GitHub Advisory Database

GHSA-jrqm-vmqc-gm93

CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package

Moderate CVE-2026-28343

Details

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:

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.

Affected packages

EcosystemPackageAffected versions
npm@ckeditor/ckeditor5-html-support
From 29.0.0 before 47.6.0 (fixed in 47.6.0)
npmckeditor5
From 29.0.0 before 47.6.0 (fixed in 47.6.0)

References