Advisory

GHSA-4fc4-4p5g-6w89

Also known as: BIT-drupal-2022-24728, BIT-drupal-2022-24729, CVE-2022-24728, CVE-2022-24729, DRUPAL-CORE-2022-005, GHSA-f6rf-9m92-x2hh

Summary

Cross-site Scripting in CKEditor4

Details

Affected packages
The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.

Impact
A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.18.0.

Patches
The problem has been recognized and patched. The fix will be available in version 4.18.0.

For more information
Email us at [email protected] if you have any questions or comments about this advisory.

Acknowledgements
The CKEditor 4 team would like to thank GHSL team member Kevin Backhouse (@kevinbackhouse) for recognizing and reporting this vulnerability.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-16 22:47 UTC
Modified
2025-12-10 23:41 UTC

Affected packages and fixes

ckeditor4

npm · All systems

Affected

  • introduced 0, fixed 4.18.0 (semver)

Fixed versions

4.18.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences