Every CVE Search/ Get API key

CVE-2024-24815

CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection

6.1 MediumFix available

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

0.71%Up 0.7 points since Feb 8, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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:

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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:

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 MediumCVSS: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 MediumCVSS: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() if CKEDITOR_BASEPATH is defined.
    • Fixed ./manage.py generateckeditorthumbnails to 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.html template. 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=firefox or SELENIUM=chromium environment variable.
    • Made it possible to override the CKEditor template in the widget class.
    • Changed CKEDITOR_IMAGE_BACKEND to require dotted module paths (the old identifiers are still supported for now).
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

Affected packages
PackageAffectedFixed
ckeditor4
npm
before 4.24.0-lts
4.24.0-lts
ckeditor/ckeditor
Packagist
before 4.24.0
4.24.0
ckeditor
Debian:12
All versions, plus listed versions
4.19.1+dfsg-14.22.1+dfsg-14.22.1+dfsg1-2
None known
ckeditor3
Debian:12
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ckeditor/ckeditor
Packagist
before 4.24.0, plus listed versions
4.10.04.10.14.11.04.11.14.11.2
Show 45 moreShow less
4.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
ckeditor
Ubuntu: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-manager
Ubuntu:16.04:LTS
All versions, plus listed versions
4.9-15.1-15.2-15.2-1ubuntu1
None known
request-tracker4
Ubuntu:16.04:LTS
All versions, plus listed versions
4.2.11-24.2.12-34.2.12-44.2.12-5
None known
ckeditor
Ubuntu: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
ckeditor3
Ubuntu:18.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-1
None known
Show 27 moreShow less
Affected packages
PackageAffectedFixed
ldap-account-manager
Ubuntu:18.04:LTS
All versions, plus listed versions
5.7-16.1-16.2-1
None known
request-tracker4
Ubuntu: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
ckeditor
Ubuntu: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
ckeditor3
Ubuntu:20.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-33.6.6.1+dfsg-4
None known
ldap-account-manager
Ubuntu:20.04:LTS
All versions, plus listed versions
6.7-1
None known
request-tracker4
Ubuntu:20.04:LTS
All versions, plus listed versions
4.4.3-24.4.3-2+deb10u3build0.20.04.1
None known
ckeditor3
Ubuntu:22.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ldap-account-manager
Ubuntu:22.04:LTS
All versions, plus listed versions
7.5-17.7-1
None known
request-tracker4
Ubuntu:22.04:LTS
All versions, plus listed versions
4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu1.22.04.1
None known
ckeditor
Ubuntu: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
ckeditor3
Ubuntu:24.04:LTS
All versions, plus listed versions
3.6.6.1+dfsg-7
None known
ldap-account-manager
Ubuntu:24.04:LTS
All versions, plus listed versions
8.3-18.5-1
None known
request-tracker4
Ubuntu:24.04:LTS
All versions, plus listed versions
4.4.4+dfsg-2ubuntu14.4.4+dfsg-2ubuntu24.4.7+dfsg-1
None known
ckeditor
Ubuntu: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
ckeditor
Ubuntu:25.10
All versions, plus listed versions
4.22.1+dfsg1-2ubuntu14.22.1+dfsg1-2ubuntu1.1
None known
ldap-account-manager
Ubuntu:25.10
All versions, plus listed versions
9.0-1
None known
request-tracker4
Ubuntu:25.10
All versions, plus listed versions
4.4.7+dfsg-4syncable1
None known
ldap-account-manager
Ubuntu:26.04:LTS
All versions, plus listed versions
9.0-19.0-1build1
None known
request-tracker4
Ubuntu:26.04:LTS
All versions, plus listed versions
4.4.7+dfsg-4syncable1
None known
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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
ckeditor
Ubuntu: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-ckeditor
openSUSE:Tumbleweed
before 6.7.2-1.1
6.7.2-1.1
python-django-ckeditor
SUSE:Package Hub 15 SP5
before 6.7.2-bp155.3.3.1
6.7.2-bp155.3.3.1
python-django-ckeditor
openSUSE:Leap 15.5
before 6.7.2-bp155.3.3.1
6.7.2-bp155.3.3.1

History

History
RecordedChangedSources
affected, facts
aliases, publishedEUVD
first indexedCVE 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

Show 17 moreShow less
This page doesn't list everything

Left out here: 16 versions. The JSON record has them.

MoveEnter Open