CVE-2024-43407
MEDIUM 6.1CVSS 3.1Code Snippet GeSHi plugin in CKEditor 4 has reflected cross-site scripting (XSS) vulnerability
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.
- Published
- 21 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-7r32-vfj5-c2jv
- Sources
- NVDJSONOSV GHSA-7r32-vfj5-c2jvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ckeditor | ckeditorcpe:2.3:a:ckeditor:ckeditor:*:*:*:*:lts:*:*:* |
>= 4.0, < 4.25.0 | 4.25.0 |
| OSV | npm | ckeditor4 | < 4.25.0 | 4.25.0 |
| OSV | Packagist | ckeditor/ckeditor | < 4.25.0 | 4.25.0 |
References
- https://github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94 · Patch, WEB
- https://github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa · Patch, WEB
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7r32-vfj5-c2jv · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43407 · ADVISORY
- https://github.com/ckeditor/ckeditor4 · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Aug 2024)