{"id":"GHSA-77mv-mp2j-gxxh","aliases":["GHSA-77mv-mp2j-gxxh"],"related":[],"kind":"vulnerability","state":"published","title":"pygmentize Remote Code Execution","summary":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the `highlight` function.","format":"markdown","source":"ghsa"}],"published":"2024-05-15T17:36:47.000Z","modified":"2024-11-29T05:25:19.558Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2"}],"ecosystem":"Packagist","package":"3f/pygmentize","purl":"pkg:composer/3f/pygmentize","source":"ghsa"}],"references":[{"url":"https://github.com/dedalozzo/pygmentize/issues/1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/dedalozzo/pygmentize/pull/3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/dedalozzo/pygmentize","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-77mv-mp2j-gxxh","url":"https://github.com/advisories/GHSA-77mv-mp2j-gxxh","licence":"CC-BY-4.0","modified":"2024-11-29T05:25:19.558Z"}],"updatedAt":"2026-11-25T22:56:31.431Z"}