CVE-2024-24815
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.
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| www/ckeditor | ckeditor | 4.21.0 | unaddressed | sunpoet@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ckeditor</name>
<range><lt>4.24.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2024-24815</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2024-24815</url>
</references>
<dates>
<discovery>2024-02-07</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>