Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ckeditor4-dev
  4. ›
  5. CVE-2024-43407

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

August 21, 2024

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.

References

  • github.com/advisories/GHSA-7r32-vfj5-c2jv
  • github.com/ckeditor/ckeditor4
  • github.com/ckeditor/ckeditor4/commit/71072c9f7f263329841bd38e7e5309074c82ef94
  • github.com/ckeditor/ckeditor4/commit/951e7d75fcbcaa2590b0719fb0bb0dd0539ca6fa
  • github.com/ckeditor/ckeditor4/security/advisories/GHSA-7r32-vfj5-c2jv
  • nvd.nist.gov/vuln/detail/CVE-2024-43407

Code Behaviors & Features

Detect and mitigate CVE-2024-43407 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.25.0-lts

Fixed versions

  • 4.25.0-lts

Solution

Upgrade to version 4.25.0-lts or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/ckeditor4-dev/CVE-2024-43407.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.