Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. 3f/pygmentize
  4. ›
  5. GHSA-77mv-mp2j-gxxh

GHSA-77mv-mp2j-gxxh: pygmentize Remote Code Execution

May 15, 2024

pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the highlight function.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml
  • github.com/advisories/GHSA-77mv-mp2j-gxxh
  • github.com/dedalozzo/pygmentize
  • github.com/dedalozzo/pygmentize/issues/1
  • github.com/dedalozzo/pygmentize/pull/3

Code Behaviors & Features

Detect and mitigate GHSA-77mv-mp2j-gxxh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2

Fixed versions

  • 1.2

Solution

Upgrade to version 1.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

packagist/3f/pygmentize/GHSA-77mv-mp2j-gxxh.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:38 +0000.