CVE-2024-24815: CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
Noroxi assessment
Priority: Monitor (action score 24/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.70% (FIRST EPSS); higher than 53.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: ckeditor4 (npm) 4.24.0-lts; python-django-ckeditor (openSUSE:Leap 15.5) 6.7.2-bp155.3.3.1; python-django-ckeditor (openSUSE:Tumbleweed) 6.7.2-1.1.
Low priority for now. Upgrade to ckeditor4 (npm) 4.24.0-lts; python-django-ckeditor (openSUSE:Leap 15.5) 6.7.2-bp155.3.3.1; python-django-ckeditor (openSUSE:Tumbleweed) 6.7.2-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 7, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.7% · 53th percentile
- CWE
- CWE-79
Report tools
Action score
24
Monitor
Low priority for now.
- CVSS
- 24 / 40 · 6.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 6.1
- CNA · GitHub_M
- 6.1
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| ckeditor | ckeditor | cpe:2.3:a:ckeditor:ckeditor |
Is the CKEditor 4 on your site affected?
The free JavaScript library scanner reads the CKEditor 4 version from the files your site loads, matches this record and other known vulnerabilities, and gives the safe version on the same branch. If the version can't be read, it says so. No account needed.
Scan JavaScript librariesAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- ckeditor ckeditor4.0 and later · before 4.24.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
ckeditor ckeditor4
- < 4.24.0-ltsaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | ckeditor | from 0 | — |
| Debian:12 | ckeditor3 | from 0 | — |
| npm | ckeditor4 | before 4.24.0-lts | 4.24.0-lts |
| openSUSE:Leap 15.5 | python-django-ckeditor | before 6.7.2-bp155.3.3.1 | 6.7.2-bp155.3.3.1 |
| openSUSE:Tumbleweed | python-django-ckeditor | before 6.7.2-1.1 | 6.7.2-1.1 |
| Packagist | ckeditor/ckeditor | before 4.24.0 | 4.24.0 |
| SUSE:Package Hub 15 SP5 | python-django-ckeditor | before 6.7.2-bp155.3.3.1 | 6.7.2-bp155.3.3.1 |
Same product
ckeditor: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-31541A unrestricted file upload vulnerability was discovered in the ‘Browse and upload images’ feature of the CKEditor v1.2.3 plugin for Redmine,39Monitor
- CVE-2022-24729Regular expression Denial of Service in dialog plugin31Monitor
- CVE-2011-4972hook_file_download in the CKEditor module 7.x-1.4 for Drupal does not properly restrict access to private files, which allows remote attacke31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-48110Feb 13, 2023 · CKSource CKEditor 5 35.4.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the Full Featured CKEditor5 widget.25Monitor
- ← EarlierCVE-2023-28439Mar 22, 2023 · ckeditor4 plugins vulnerable to cross-site scripting caused by the editor instance destroying process24Monitor
- Later →CVE-2024-24816Feb 7, 2024 · Cross-site scripting (XSS) vulnerability in samples with enabled the preview feature24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| npm:ckeditor4 | 4.24.0-lts | Package registry (OSV) |
| opensuse:python-django-ckeditor | 6.7.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python-django-ckeditor | 6.7.2-bp155.3.3.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| Packagist:ckeditor/ckeditor | 4.24.0 | Package registry (OSV) |
| suse:python-django-ckeditor | 6.7.2-bp155.3.3.1 · SUSE:Package Hub 15 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2022-48110359 days apartCKSource CKEditor 5 35.4.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the Full Featured CKEditor5 widget.25Monitor
- CVE-2024-248160 days apartCross-site scripting (XSS) vulnerability in samples with enabled the preview feature24Monitor
- CVE-2024-43407196 days apartCode Snippet GeSHi plugin has reflected cross-site scripting (XSS) vulnerability24Monitor
- CVE-2023-28439322 days apartckeditor4 plugins vulnerable to cross-site scripting caused by the editor instance destroying process24Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata
- ckeditor.com/docs/ckeditor4/latest/features/fullpage.html
- ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html
- github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb
- github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm
Vendor advisories and official records. Exploit/PoC links are deliberately left out.