The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.
A potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version < 4.18.0.
The problem has been recognized and patched. The fix will be available in version 4.18.0.
Email us at [email protected] if you have any questions or comments about this advisory.
The CKEditor 4 team would like to thank GHSL team member Kevin Backhouse (@kevinbackhouse) for recognizing and reporting this vulnerability.
| Score | Percentile |
|---|---|
| 1.07% | 77.73% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 5.4 | 3.1 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-4fc4-4p5g-6w89 ↗ |
| CVE | CVE-2022-24728 ↗ |
| 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.18.0 | 4.18.0 | — |