Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-fq6h-4g8v-qqvm: CKEditor4 Cross-site Scripting vulnerability caused by incorrect CDATA detection

Affected packages

The vulnerability has been discovered in the core HTML parsing module and may affect all editor instances that:

Impact

A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed HTML content bypassing Advanced Content Filtering mechanism, which could result in executing JavaScript code. An attacker could abuse faulty CDATA content detection and use it to prepare an intentional attack on the editor. It affects all users using the CKEditor 4 at version < 4.24.0-lts.

Patches

The problem has been recognized and patched. The fix will be available in version 4.24.0-lts.

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 Michal Frýba from ALEF NULA for recognizing and reporting this vulnerability.

ghsa
#xss#vulnerability#nodejs#git#java

Package

npm ckeditor4 (npm)

Affected versions

< 4.24.0-lts

Patched versions

4.24.0-lts

Description

Affected packages

The vulnerability has been discovered in the core HTML parsing module and may affect all editor instances that:

  • Enabled full-page editing mode,
  • or enabled CDATA elements in Advanced Content Filtering configuration (defaults to script and style elements).

Impact

A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed HTML content bypassing Advanced Content Filtering mechanism, which could result in executing JavaScript code. An attacker could abuse faulty CDATA content detection and use it to prepare an intentional attack on the editor. It affects all users using the CKEditor 4 at version < 4.24.0-lts.

Patches

The problem has been recognized and patched. The fix will be available in version 4.24.0-lts.

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 Michal Frýba from ALEF NULA for recognizing and reporting this vulnerability.

References

  • GHSA-fq6h-4g8v-qqvm
  • ckeditor/ckeditor4@8ed1a3c
  • https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata
  • https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html
  • https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html

jacekbogdanski published to ckeditor/ckeditor4

Feb 7, 2024

Published to the GitHub Advisory Database

Feb 7, 2024

Reviewed

Feb 7, 2024

Last updated

Feb 7, 2024

Severity

Moderate

6.1

/ 10

CVSS base metrics

Attack vector

Network

Attack complexity

Low

Privileges required

None

User interaction

Required

Scope

Changed

Confidentiality

Low

Integrity

Low

Availability

None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CWE-79

CVE ID

CVE-2024-24815

GHSA ID

GHSA-fq6h-4g8v-qqvm

Source code

ckeditor/ckeditor4

Checking history

See something to contribute? Suggest improvements for this vulnerability.

ghsa: Latest News

GHSA-g85v-wf27-67xc: Harden-Runner has a command injection weaknesses in `setup.ts` and `arc-runner.ts`