The vulnerability has been discovered in the samples that use the preview feature:
samples/old/**/*.htmlplugins/[plugin name]/samples/**/*.htmlAll integrators that use these samples in the production code can be affected.
A potential vulnerability has been discovered in one of CKEditor's 4 samples that are shipped with production code. The vulnerability allowed to execute JavaScript code by abusing the misconfigured preview feature. It affects all users using the CKEditor 4 at version < 4.24.0-lts with affected samples used in a production environment.
The problem has been recognized and patched. The fix will be available in version 4.24.0-lts.
Email us at [email protected] if you have any questions or comments about this advisory.
The CKEditor 4 team would like to thank Marcin Wyczechowski & Michał Majchrowicz AFINE Team for recognizing and reporting this vulnerability.
| Score | Percentile |
|---|---|
| 39.83% | 97.33% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 6.1 | 3.1 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-mw2c-vx6j-mg76 ↗ |
| CVE | CVE-2024-24816 ↗ |
| CWE id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | ckeditor4 | < 4.24.0-lts | 4.24.0-lts | — |