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.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.4%top 60.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ckeditorno fix listedDEBIAN-CVE-2024-43407
Packagistckeditor/ckeditor4.25.0GHSA-7r32-vfj5-c2jv
Ubuntu:22.04:LTSgeshino fix listedUBUNTU-CVE-2024-43407
Ubuntu:24.04:LTSgeshino fix listedUBUNTU-CVE-2024-43407
Ubuntu:25.10geshino fix listedUBUNTU-CVE-2024-43407
Ubuntu:26.04:LTSgeshino fix listedUBUNTU-CVE-2024-43407
Ubuntu:26.10geshino fix listedUBUNTU-CVE-2024-43407
npmckeditor44.25.0GHSA-7r32-vfj5-c2jv

Affected products (as reported)

VendorProductVersions
ckeditor ckeditor4 < 4.25.0-lts

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References