# CVE-2024-24815: CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-02-07T15:14:32.361Z
- Modified: 2026-09-10T03:50:06.171Z
- Also known as: GHSA-fq6h-4g8v-qqvm
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered in the core HTML parsing module in versions of CKEditor4 prior to 4.24.0-lts. It 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). The vulnerability allows attackers 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. A fix is available in version 4.24.0-lts.

(As written by CVE List.)

## Affected

- ckeditor ckeditor4: < 4.24.0-lts
- ckeditor4 (npm): before 4.24.0-lts
- ckeditor/ckeditor (Packagist): before 4.24.0
- ckeditor ckeditor: from 4.0 before 4.24.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm> (vendor-advisory, web)
- <https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb> (patch, web)
- <https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata> (product, web)
- <https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html> (product, web)
- <https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html> (product, web)
- <https://www.drupal.org/sa-contrib-2024-009> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24815> (advisory)
- <https://github.com/ckeditor/ckeditor4> (package)

## Sources

- CVE List: [CVE-2024-24815](https://www.cve.org/CVERecord?id=CVE-2024-24815), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-fq6h-4g8v-qqvm](https://github.com/advisories/GHSA-fq6h-4g8v-qqvm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-24815](https://nvd.nist.gov/vuln/detail/CVE-2024-24815), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-24815 · Whole record: https://cve.day/CVE-2024-24815.json · Rebuilt by cve.day 2026-11-25T22:58:36.648Z
