{"id":"GHSA-77mv-mp2j-gxxh","aliases":[],"status":"published","title":"pygmentize Remote Code Execution","description":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-05-15T17:36:47Z","modified":"2024-11-29T05:25:19Z","fixes":[{"ecosystem":"Packagist","package":"3f/pygmentize","fixed_in":["1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"3f/pygmentize","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"3f/pygmentize","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2"}]}],"versions":["1.0","1.1"]}],"references":[{"url":"https://github.com/dedalozzo/pygmentize/issues/1","tags":["web"]},{"url":"https://github.com/dedalozzo/pygmentize/pull/3","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-77mv-mp2j-gxxh"},{"url":"https://github.com/dedalozzo/pygmentize","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-77mv-mp2j-gxxh","title":"pygmentize Remote Code Execution","description":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","status":"published","published":"2024-05-15T17:36:47Z","modified":"2024-05-15T17:36:49Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:37:49.48194Z"}],"osv":[{"id":"GHSA-77mv-mp2j-gxxh","title":"pygmentize Remote Code Execution","description":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","status":"published","published":"2024-05-15T17:36:47Z","modified":"2024-11-29T05:25:19.558773Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
