{"id":"GHSA-77mv-mp2j-gxxh","aliases":[],"title":"pygmentize Remote Code Execution","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","severity":"high","score":8.1,"published":"2024-05-15T17:36:47.000Z","modified":"2024-11-29T05:25:19.558Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"3f/pygmentize","sources":[{"name":"OSV · GHSA-77mv-mp2j-gxxh","url":"https://osv.dev/vulnerability/GHSA-77mv-mp2j-gxxh"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.2"}],"type":"ECOSYSTEM"}],"versions":["1.0","1.1"],"fixed":["1.2"]}],"sourceAffected":[],"references":["https://github.com/dedalozzo/pygmentize/issues/1","https://github.com/dedalozzo/pygmentize/pull/3","https://github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml","https://github.com/dedalozzo/pygmentize"],"sources":[{"name":"OSV","id":"GHSA-77mv-mp2j-gxxh","modified":"2024-11-29T05:25:19.558773Z","url":"https://osv.dev/vulnerability/GHSA-77mv-mp2j-gxxh"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1}],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-28T22:45:32.681Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}