GHSA-77mv-mp2j-gxxh
HIGH 8.1CVSS 3.1pygmentize Remote Code Execution
pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the highlight function.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | 3f/pygmentize | < 1.2 | 1.2 |
References
- https://github.com/dedalozzo/pygmentize/issues/1 · WEB
- https://github.com/dedalozzo/pygmentize/pull/3 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml · WEB
- https://github.com/dedalozzo/pygmentize · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 May 2024)