# CVE-2024-43407: Code Snippet GeSHi plugin has reflected cross-site scripting (XSS) vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-08-21T15:03:41.629Z
- Modified: 2026-06-17T07:50:59.233Z
- Also known as: GHSA-7r32-vfj5-c2jv
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ckeditor ckeditor4: < 4.25.0-lts
- ckeditor4 (npm): before 4.25.0
- ckeditor/ckeditor (Packagist): before 4.25.0
- ckeditor ckeditor: from 4.0 before 4.25.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.1 Medium `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> (vendor-advisory, web)
- <https://github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94> (patch, web)
- <https://github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-43407> (advisory)
- <https://github.com/ckeditor/ckeditor4> (package)

## Sources

- CVE List: [CVE-2024-43407](https://www.cve.org/CVERecord?id=CVE-2024-43407), CVE Terms of Use, modified 2024-08-21
- GitHub Advisory Database: [GHSA-7r32-vfj5-c2jv](https://github.com/advisories/GHSA-7r32-vfj5-c2jv), CC-BY-4.0, modified 2025-02-18
- NVD: [CVE-2024-43407](https://nvd.nist.gov/vuln/detail/CVE-2024-43407), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43407 · Whole record: https://cve.day/CVE-2024-43407.json · Rebuilt by cve.day 2026-11-25T22:58:44.627Z
