CVEfocus › CVE database › CVE-2024-43407

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

CVSS 6.1 MediumEPSS 0.7% (higher than 50% of CVEs)Published 2024-08-21Updated 2024-08-21Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from Packagist, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Under investigation
2Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10geshiFix pendingUBUNTU-CVE-2024-43407
Ubuntu 26.04geshiUnder investigationUBUNTU-CVE-2024-43407
Ubuntu 26.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 26.04request-tracker4Not affected
vulnerable_code_not_present
Ubuntu 25.10ckeditorNot affected
vulnerable_code_not_present
Ubuntu 25.10geshiWill not fix
embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5
UBUNTU-CVE-2024-43407
Ubuntu 25.10ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 25.10request-tracker4Not affected
vulnerable_code_not_present
Ubuntu 24.04ckeditor3Not affected
vulnerable_code_not_present
Ubuntu 24.04geshiUnder investigationUBUNTU-CVE-2024-43407
Ubuntu 24.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 24.04request-tracker4Not affected
vulnerable_code_not_present
Ubuntu 22.04ckeditor3Not affected
vulnerable_code_not_present
Ubuntu 22.04geshiUnder investigationUBUNTU-CVE-2024-43407
Ubuntu 22.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 22.04request-tracker4Not affected
vulnerable_code_not_present
Ubuntu 20.04ckeditor3Not affected
vulnerable_code_not_present
Ubuntu 20.04geshiWill not fix
embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5
UBUNTU-CVE-2024-43407
Ubuntu 20.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 20.04request-tracker4Not affected
vulnerable_code_not_present
Ubuntu 18.04geshiFix pendingUBUNTU-CVE-2024-43407
Ubuntu 16.04geshiFix pendingUBUNTU-CVE-2024-43407
Debian 12ckeditorFix pendingDEBIAN-CVE-2024-43407
Packagist libraryckeditor/ckeditorFixed4.25.0GHSA-7r32-vfj5-c2jv
npm libraryckeditor4Fixed4.25.0GHSA-7r32-vfj5-c2jv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.