{"id":"GHSA-4cv2-xc5f-px8h","aliases":[],"status":"published","title":"Denial of Service in extension \"Code Highlight\" (codehighlight)","description":"The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).","severity":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-05-15T18:03:37Z","modified":"2024-11-29T05:45:09Z","fixes":[{"ecosystem":"Packagist","package":"brotkrueml/codehighlight","fixed_in":["2.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"brotkrueml/codehighlight","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"brotkrueml/codehighlight","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}],"versions":["v1.0.0","v1.0.1","v1.1.0","v1.1.1","v2.0.0","v2.0.1","v2.1.0","v2.2.0","v2.3.0","v2.4.0"]}],"references":[{"url":"https://github.com/brotkrueml/codehighlight/commit/c2f05e5200f1562a3fba2de1f12ee9872f883e2c","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/brotkrueml/codehighlight/2021-03-16-1.yaml","tags":["web"]},{"url":"https://typo3.org/security/advisory/typo3-ext-sa-2021-002","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4cv2-xc5f-px8h"},{"url":"https://github.com/brotkrueml/codehighlight","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-4cv2-xc5f-px8h","title":"Denial of Service in extension \"Code Highlight\" (codehighlight)","description":"The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).","status":"published","published":"2024-05-15T18:03:37Z","modified":"2024-05-15T18:03:38Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T14:37:49.48194Z"}],"osv":[{"id":"GHSA-4cv2-xc5f-px8h","title":"Denial of Service in extension \"Code Highlight\" (codehighlight)","description":"The codehighlight extension bundles a vulnerable version of the 3rd party JavaScript component “prism” which is known to be vulnerable against Regular expression Denial of Service (ReDoS).","status":"published","published":"2024-05-15T18:03:37Z","modified":"2024-11-29T05:45:09.739662Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:46:36.782754Z"}]}}
