Vulnerability · Published Aug 21, 2024 · Assigned by GitHub_M
CVE-2024-43407Code Snippet GeSHi plugin has reflected cross-site scripting (XSS) vulnerability
Medium 6.1
In plain English
A medium-severity cross-site scripting in ckeditor4 from ckeditor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A potential vulnerability has been discovered in CKEditor 4 Code Snippet GeSHi plugin. The vulnerability allowed a reflected XSS attack by exploiting a flaw in the GeSHi syntax highlighter library hosted by the victim. The GeSHi library was included as a vendor dependency in CKEditor 4 source files. In a specific scenario, an attacker could craft a malicious script that could be executed by sending a request to the GeSHi library hosted on a PHP web server. The GeSHi library is no longer actively maintained. Due to the lack of ongoing support and updates, potential security vulnerabilities have been identified with its continued use. To mitigate these risks and enhance the overall security of the CKEditor 4, we have decided to completely remove the GeSHi library as a dependency. This change aims to maintain a secure environment and reduce the risk of any security incidents related to outdated or unsupported software. The fix is be available in version 4.25.0-lts.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ckeditor | no fix listed | DEBIAN-CVE-2024-43407 |
| Packagist | ckeditor/ckeditor | 4.25.0 | GHSA-7r32-vfj5-c2jv |
| Ubuntu:22.04:LTS | geshi | no fix listed | UBUNTU-CVE-2024-43407 |
| Ubuntu:24.04:LTS | geshi | no fix listed | UBUNTU-CVE-2024-43407 |
| Ubuntu:25.10 | geshi | no fix listed | UBUNTU-CVE-2024-43407 |
| Ubuntu:26.04:LTS | geshi | no fix listed | UBUNTU-CVE-2024-43407 |
| Ubuntu:26.10 | geshi | no fix listed | UBUNTU-CVE-2024-43407 |
| npm | ckeditor4 | 4.25.0 | GHSA-7r32-vfj5-c2jv |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7r32-vfj5-c2jv x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94 x_refsource_MISC
- https://github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa x_refsource_MISC