{"id":"EUVD-2021-1326","revision":"9b5de2d06f7445739461e59b20cfae84","records":[{"revision":"9b5de2d06f7445739461e59b20cfae84","observedAt":"2026-11-24T10:29:31.52+00:00","statement":{"source":"euvd","id":"EUVD-2021-1326","aliases":["CVE-2021-32723","GHSA-gj77-59wh-66hg"],"title":"Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take …","description":"Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H","score":7.4,"severity":null}],"references":["https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg","https://github.com/PrismJS/prism/pull/2688","https://github.com/PrismJS/prism/pull/2774","https://www.oracle.com/security-alerts/cpujan2022.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1326","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 28, 2021, 7:15:15 PM","dateUpdated":"Aug 3, 2024, 11:33:54 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1326","identifiers":["EUVD-2021-1326","CVE-2021-32723","GHSA-gj77-59wh-66hg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}