Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-43407 EUVD-2024-2528GHSA-7r32-vfj5-c2jv

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

Published Aug 21, 2024 · Updated Aug 21, 2024 · 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.

Affected products

VendorProductAffectedFixed
ckeditor ckeditor4 < 4.25.0-lts —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ckeditor No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 geshi No fix yet —
Ubuntu 26.04 LTS geshi No fix yet —
Ubuntu 25.10 geshi No fix yet —
Ubuntu 24.04 LTS geshi No fix yet —
Ubuntu 22.04 LTS geshi No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS geshi No fix yet —
Ubuntu 18.04 LTS geshi No fix yet —
Ubuntu 16.04 LTS geshi No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 < 4.25.0 4.25.0 GHSA-7r32-vfj5-c2jv
Packagist ckeditor/ckeditor < 4.25.0 4.25.0 GHSA-7r32-vfj5-c2jv

Advisories 2

References