CVE-2024-43407Code Snippet GeSHi plugin 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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | geshi | Fix pending | UBUNTU-CVE-2024-43407 | |
| Ubuntu 26.04 | geshi | Under investigation | UBUNTU-CVE-2024-43407 | |
| Ubuntu 26.04 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | request-tracker4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ckeditor | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | geshi | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 | UBUNTU-CVE-2024-43407 | |
| Ubuntu 25.10 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | request-tracker4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ckeditor3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | geshi | Under investigation | UBUNTU-CVE-2024-43407 | |
| Ubuntu 24.04 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | request-tracker4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ckeditor3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | geshi | Under investigation | UBUNTU-CVE-2024-43407 | |
| Ubuntu 22.04 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | request-tracker4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | ckeditor3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | geshi | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 | UBUNTU-CVE-2024-43407 | |
| Ubuntu 20.04 | ldap-account-manager | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | request-tracker4 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | geshi | Fix pending | UBUNTU-CVE-2024-43407 | |
| Ubuntu 16.04 | geshi | Fix pending | UBUNTU-CVE-2024-43407 | |
| Debian 12 | ckeditor | Fix pending | DEBIAN-CVE-2024-43407 | |
| Packagist library | ckeditor/ckeditor | Fixed | 4.25.0 | GHSA-7r32-vfj5-c2jv |
| npm library | ckeditor4 | Fixed | 4.25.0 | GHSA-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.
- ckeditor4: affected: < 4.25.0-lts
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7r32-vfj5-c2jv
- https://github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94
- https://github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa
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.