{"id":"CVE-2024-43407","published":"2024-08-21T15:03:41Z","modified":"2024-08-21T19:54:12Z","title":"Code Snippet GeSHi plugin has reflected cross-site scripting (XSS) vulnerability","vendor":"ckeditor","product":"ckeditor4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00717,"percentile":0.49536,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7r32-vfj5-c2jv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94","tags":["x_refsource_MISC"]},{"url":"https://github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":9.91},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor4","versions":["< 4.25.0-lts"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-21T19:12:17.228243Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ckeditor4","vulnerableRanges":["<4.25.0"],"patched":["4.25.0"],"from":["GHSA-7r32-vfj5-c2jv"],"provenance":"source"},{"ecosystem":"Packagist","package":"ckeditor/ckeditor","vulnerableRanges":["<4.25.0"],"patched":["4.25.0"],"from":["GHSA-7r32-vfj5-c2jv"],"provenance":"source"}],"summary":{"text":"The Code Snippet GeSHi plugin in CKEditor 4 contains a reflected cross-site scripting flaw, stemming from a weakness in the GeSHi syntax highlighter library bundled as a vendor dependency and hosted on the victim's PHP web server. An attacker can exploit it by crafting a request to that GeSHi library that carries a malicious script, which then executes in the victim's browser, and this requires the victim to interact with the crafted link or request, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:31Z"},"euvd":{"id":"EUVD-2024-2528","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-4771","published":"2023-11-16","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-24815","published":"2024-02-07","fixed":"4.24.0-lts","kev":false,"link":{"from":"CVE-2024-24815","to":"CVE-2024-43407","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.24.0-lts","toFixed":"4.25.0","daysApart":196},{"kind":"version-step","provenance":"source","package":"Packagist:ckeditor/ckeditor","fromFixed":"4.24.0","toFixed":"4.25.0","daysApart":196}]}},{"cve":"CVE-2024-24816","published":"2024-02-07","fixed":"4.24.0-lts","kev":false},{"cve":"CVE-2024-43407","published":"2024-08-21","fixed":"4.25.0","kev":false},{"cve":"CVE-2024-43411","published":"2024-08-21","fixed":"4.25.0","kev":false}],"package":"npm:ckeditor4"}}