Skip to content

Cross-site Scripting in CKEditor4

Moderate severity GitHub Reviewed Published Mar 16, 2022 in ckeditor/ckeditor4 • Updated Jan 27, 2023

Package

npm ckeditor4 (npm)

Affected versions

< 4.18.0

Patched versions

4.18.0

Description

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 security@cksource.com 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.

References

@jacekbogdanski jacekbogdanski published to ckeditor/ckeditor4 Mar 16, 2022
Published by the National Vulnerability Database Mar 16, 2022
Published to the GitHub Advisory Database Mar 16, 2022
Reviewed Mar 16, 2022
Last updated Jan 27, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-24728

GHSA ID

GHSA-4fc4-4p5g-6w89

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.