{"id":"CVE-2024-24815","published":"2024-02-07T15:14:32Z","modified":"2025-02-13T17:40:30Z","title":"CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection","vendor":"ckeditor","product":"ckeditor4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00706,"percentile":0.54294,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb","tags":["x_refsource_MISC"]},{"url":"https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata","tags":["x_refsource_MISC"]},{"url":"https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html","tags":["x_refsource_MISC"]},{"url":"https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html","tags":["x_refsource_MISC"]},{"url":"https://www.drupal.org/sa-contrib-2024-009","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.86},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor4","versions":["< 4.24.0-lts"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-08T16:41:58.530703Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ckeditor4","vulnerableRanges":["<4.24.0-lts"],"patched":["4.24.0-lts"],"from":["GHSA-fq6h-4g8v-qqvm"],"provenance":"source"},{"ecosystem":"Packagist","package":"ckeditor/ckeditor","vulnerableRanges":["<4.24.0"],"patched":["4.24.0"],"from":["GHSA-fq6h-4g8v-qqvm"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the core HTML parsing module of CKEditor4, the open source WYSIWYG HTML editor, affects versions prior to 4.24.0-lts, specifically instances that have full-page editing mode or CDATA elements (such as script and style, by default) enabled in the Advanced Content Filtering configuration. An attacker can inject malformed HTML that bypasses Advanced Content Filtering and executes JavaScript, exploiting faulty CDATA content detection; this requires network access and a user to interact with the crafted content, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:24Z"},"euvd":{"id":"EUVD-2024-0630","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41165","published":"2021-11-17","fixed":"4.17.0","kev":false},{"cve":"CVE-2022-24728","published":"2022-03-16","fixed":"4.18.0","kev":false,"link":{"from":"CVE-2022-24728","to":"CVE-2024-24815","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.18.0","toFixed":"4.24.0-lts","daysApart":693}]}},{"cve":"CVE-2023-4771","published":"2023-11-16","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-24815","published":"2024-02-07","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-24816","published":"2024-02-07","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-43407","published":"2024-08-21","fixed":"4.25.0","kev":false,"link":{"from":"CVE-2024-24815","to":"CVE-2024-43407","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.24.0-lts","toFixed":"4.25.0","daysApart":196},{"kind":"version-step","provenance":"source","package":"Packagist:ckeditor/ckeditor","fromFixed":"4.24.0","toFixed":"4.25.0","daysApart":196}]}},{"cve":"CVE-2024-43411","published":"2024-08-21","fixed":"4.25.0","kev":false,"link":{"from":"CVE-2024-24815","to":"CVE-2024-43411","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.24.0-lts","toFixed":"4.25.0","daysApart":196}]}}],"package":"npm:ckeditor4"}}