CVE-2024-24815
CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.1
CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
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.
- Record
CVE-2024-24815- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2024-0630
6.1
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.
- Record
EUVD-2024-0630- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fq6h-4g8v-qqvm
6.1
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:
- Enabled full-page editing mode,
- or enabled CDATA elements in Advanced Content Filtering configuration (defaults to
scriptandstyleelements).
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.
- Record
GHSA-fq6h-4g8v-qqvm- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2024-24815- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
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.
- Record
CVE-2024-24815- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-24815
6.1
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.
- Record
DEBIAN-CVE-2024-24815- 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 - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-fq6h-4g8v-qqvm
6.1
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:
- Enabled full-page editing mode,
- or enabled CDATA elements in Advanced Content Filtering configuration (defaults to
scriptandstyleelements).
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.
- Record
GHSA-fq6h-4g8v-qqvm- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-24815
6.1
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.
- Record
UBUNTU-CVE-2024-24815- 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14557-1 No score
python310-django-ckeditor-6.7.2-1.1 on GA media
These are all security issues fixed in the python310-django-ckeditor-6.7.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14557-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:0008-1 No score
Security update for python-django-ckeditor
This update for python-django-ckeditor fixes the following issues:
-
Update to 6.7.2
- Deprecated the package.
- Added a new ckeditor/fixups.js script which disables the version check again (if something slips through by accident) and which disables the behavior where CKEditor 4 would automatically attach itself to unrelated HTML elements with a contenteditable attribute (see CKEDITOR.disableAutoInline in the CKEditor 4 docs).
-
CVE-2024-24815: Fixed bypass of Advanced Content Filtering mechanism (boo#1219720)
-
update to 6.7.1:
- Add Python 3.12, Django 5.0
- Silence the CKEditor version check/nag but include a system check warning
-
update to 6.7.0:
- Dark mode fixes.
- Added support for Pillow 10.
-
update to 6.6.1:
- Required a newer version of django-js-asset which actually works with Django 4.1.
- CKEditor 4.21.0
- Fixed the CKEditor styles when used with the dark Django admin theme.
-
update to 6.5.1:
- Avoided calling
static()ifCKEDITOR_BASEPATHis defined. - Fixed
./manage.py generateckeditorthumbnailsto work again after the image uploader backend rework. - CKEditor 4.19.1
- Stopped calling
static()during application startup. - Added Django 4.1
- Changed the context for the widget to deviate less from Django. Removed a
- few template variables which are not used in the bundled
ckeditor/widget.htmltemplate. This only affects you if you are using a- customized widget or widget template.
- Dropped support for Python < 3.8, Django < 3.2.
- Added a pre-commit configuration.
- Added a GitHub action for running tests.
- Made selenium tests require opt in using a
SELENIUM=firefoxorSELENIUM=chromiumenvironment variable. - Made it possible to override the CKEditor template in the widget class.
- Changed
CKEDITOR_IMAGE_BACKENDto require dotted module paths (the old identifiers are still supported for now).
- Avoided calling
- Record
openSUSE-SU-2025:0008-1- Updated
- 2026-11-02
OSVUSN-7258-1 No score
ckeditor vulnerabilities
Kevin Backhouse discovered that CKEditor did not properly sanitize HTML content. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-24728)
It was discovered that CKEditor did not properly handle the creation of editor instances in the Iframe Dialog and Media Embed packages. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-28439)
It was discovered that CKEditor did not properly handle parsing HTML content. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. (CVE-2024-24815, CVE-2024-24816)
It was discovered that CKEditor did not properly sanitize version notifications. An attacker could possibly use this issue to perform cross site scripting and obtain sensitive information. This issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-43411)
- Record
USN-7258-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ckeditor4npm |
before 4.24.0-lts | 4.24.0-lts |
ckeditor/ckeditorPackagist |
before 4.24.0 | 4.24.0 |
ckeditorDebian:12 |
All versions, plus listed versions 4.19.1+dfsg-14.22.1+dfsg-14.22.1+dfsg1-2 |
None known |
ckeditor3Debian:12 |
All versions, plus listed versions 3.6.6.1+dfsg-7 |
None known |
ckeditor/ckeditorPackagist |
before 4.24.0, plus listed versions 4.10.04.10.14.11.04.11.14.11.2 Show 45 moreShow less4.11.34.11.44.12.04.12.14.13.04.13.14.14.04.14.14.15.04.15.14.16.04.16.14.16.24.17.04.17.14.17.24.18.04.19.04.19.14.20.04.20.14.20.24.21.04.22.04.22.14.23.04.3.34.3.44.3.54.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.5.04.5.14.5.104.5.114.5.24.5.34.5.4 |
4.24.0 |
ckeditorUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 4.4.4+dfsg1-34.5.6+dfsg-14.5.7+dfsg-14.5.7+dfsg-24.5.7+dfsg-2ubuntu0.16.04.1~esm14.5.7+dfsg-2ubuntu0.16.04.1~esm24.5.7+dfsg-2ubuntu0.16.04.1~esm3 |
None known |
ldap-account-managerUbuntu:16.04:LTS |
All versions, plus listed versions 4.9-15.1-15.2-15.2-1ubuntu1 |
None known |
request-tracker4Ubuntu:16.04:LTS |
All versions, plus listed versions 4.2.11-24.2.12-34.2.12-44.2.12-5 |
None known |
ckeditorUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.5.7+dfsg-24.5.7+dfsg-2ubuntu0.18.04.14.5.7+dfsg-2ubuntu0.18.04.1+esm14.5.7+dfsg-2ubuntu0.18.04.1+esm2 |
None known |
ckeditor3Ubuntu:18.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-1 |
None known |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ldap-account-managerUbuntu:18.04:LTS |
All versions, plus listed versions 5.7-16.1-16.2-1 |
None known |
request-tracker4Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.4.1-54.4.2-14.4.2-24.4.2-2ubuntu0.1~esm1 |
None known |
ckeditorUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 4.11.1+dfsg-14.12.1+dfsg-14.12.1+dfsg-1ubuntu0.14.12.1+dfsg-1ubuntu0.1+esm14.12.1+dfsg-1ubuntu0.1+esm2 |
None known |
ckeditor3Ubuntu:20.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-33.6.6.1+dfsg-4 |
None known |
ldap-account-managerUbuntu:20.04:LTS |
All versions, plus listed versions 6.7-1 |
None known |
request-tracker4Ubuntu:20.04:LTS |
All versions, plus listed versions 4.4.3-24.4.3-2+deb10u3build0.20.04.1 |
None known |
ckeditor3Ubuntu:22.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-7 |
None known |
ldap-account-managerUbuntu:22.04:LTS |
All versions, plus listed versions 7.5-17.7-1 |
None known |
request-tracker4Ubuntu:22.04:LTS |
All versions, plus listed versions 4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu1.22.04.1 |
None known |
ckeditorUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 4.16.0+dfsg-24.16.2+dfsg-14.16.2+dfsg-1ubuntu0.1~esm14.16.2+dfsg-1ubuntu0.1~esm2 |
None known |
ckeditor3Ubuntu:24.04:LTS |
All versions, plus listed versions 3.6.6.1+dfsg-7 |
None known |
ldap-account-managerUbuntu:24.04:LTS |
All versions, plus listed versions 8.3-18.5-1 |
None known |
request-tracker4Ubuntu:24.04:LTS |
All versions, plus listed versions 4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu24.4.7+dfsg-1 |
None known |
ckeditorUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 4.22.1+dfsg1-24.22.1+dfsg1-2ubuntu0.24.04.1~esm14.22.1+dfsg1-2ubuntu0.24.04.1~esm2 |
None known |
ckeditorUbuntu:25.10 |
All versions, plus listed versions 4.22.1+dfsg1-2ubuntu14.22.1+dfsg1-2ubuntu1.1 |
None known |
ldap-account-managerUbuntu:25.10 |
All versions, plus listed versions 9.0-1 |
None known |
request-tracker4Ubuntu:25.10 |
All versions, plus listed versions 4.4.7+dfsg-4syncable1 |
None known |
ldap-account-managerUbuntu:26.04:LTS |
All versions, plus listed versions 9.0-19.0-1build1 |
None known |
request-tracker4Ubuntu:26.04:LTS |
All versions, plus listed versions 4.4.7+dfsg-4syncable1 |
None known |
ckeditorUbuntu:Pro:16.04:LTS From an advisory covering 5 CVEs |
before 4.5.7+dfsg-2ubuntu0.16.04.1~esm2, plus listed versions 4.4.4+dfsg1-34.5.6+dfsg-14.5.7+dfsg-14.5.7+dfsg-24.5.7+dfsg-2ubuntu0.16.04.1~esm1 |
4.5.7+dfsg-2ubuntu0.16.04.1~esm2 |
ckeditorUbuntu:Pro:18.04:LTS From an advisory covering 5 CVEs |
before 4.5.7+dfsg-2ubuntu0.18.04.1+esm1, plus listed versions 4.5.7+dfsg-24.5.7+dfsg-2ubuntu0.18.04.1 |
4.5.7+dfsg-2ubuntu0.18.04.1+esm1 |
ckeditorUbuntu:Pro:20.04:LTS From an advisory covering 5 CVEs |
before 4.12.1+dfsg-1ubuntu0.1+esm1, plus listed versions 4.11.1+dfsg-14.12.1+dfsg-14.12.1+dfsg-1ubuntu0.1 |
4.12.1+dfsg-1ubuntu0.1+esm1 |
ckeditorUbuntu:Pro:22.04:LTS From an advisory covering 5 CVEs |
before 4.16.2+dfsg-1ubuntu0.1~esm1, plus listed versions 4.16.0+dfsg-24.16.2+dfsg-1 |
4.16.2+dfsg-1ubuntu0.1~esm1 |
ckeditorUbuntu:Pro:24.04:LTS From an advisory covering 5 CVEs |
before 4.22.1+dfsg1-2ubuntu0.24.04.1~esm1, plus listed versions 4.22.1+dfsg1-2 |
4.22.1+dfsg1-2ubuntu0.24.04.1~esm1 |
python-django-ckeditoropenSUSE:Tumbleweed |
before 6.7.2-1.1 | 6.7.2-1.1 |
python-django-ckeditorSUSE:Package Hub 15 SP5 |
before 6.7.2-bp155.3.3.1 | 6.7.2-bp155.3.3.1 |
python-django-ckeditoropenSUSE:Leap 15.5 |
before 6.7.2-bp155.3.3.1 | 6.7.2-bp155.3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-24815 is a medium vulnerability (CVSS 6.1) in Ckeditor, published February 7, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.71%, the 53rd percentile. Fixed in ckeditor4 4.24.0-lts.
References
github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm
github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb
ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html
ckeditor.com/docs/ckeditor4/latest/features/fullpage.html
ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html
drupal.org/sa-contrib-2024-009
Show 17 moreShow less
nvd.nist.gov/vuln/detail/CVE-2024-24815
github.com/advisories/GHSA-fq6h-4g8v-qqvm
github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24815.json
security-tracker.debian.org/tracker/CVE-2024-24815
github.com/ckeditor/ckeditor4
ubuntu.com/security/CVE-2024-24815
github.com/ckeditor/ckeditor4/commit/889315aa89de1d08f320990367ef4559551fdf9f
cve.org/CVERecord?id=CVE-2024-24815
ubuntu.com/security/notices/USN-7258-1
ubuntu.com/security/CVE-2022-24728
ubuntu.com/security/CVE-2023-28439
ubuntu.com/security/CVE-2024-24816
ubuntu.com/security/CVE-2024-43411
lists.opensuse.org/archives/list/[email protected]/thread/LTZL2Q6MD2MZXWLTDIWGVIWV5USTFGZF
suse.com/security/cve/CVE-2024-24815
lists.opensuse.org/archives/list/[email protected]/thread/ZXNT2JPQVYWDQRDN2YJ7KJCRBY5QEJQW
bugzilla.suse.com/1219720
Left out here: 16 versions. The JSON record has them.