{"id":"EUVD-2021-1326","enisaUuid":"444b81f5-7976-389c-bf04-fd7fc4a9afb3","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.","datePublished":"Jun 28, 2021, 7:15:15 PM","dateUpdated":"Aug 3, 2024, 11:33:54 PM","baseScore":7.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H","references":"https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg\nhttps://github.com/PrismJS/prism/pull/2688\nhttps://github.com/PrismJS/prism/pull/2774\nhttps://www.oracle.com/security-alerts/cpujan2022.html\n","aliases":"CVE-2021-32723\nGHSA-gj77-59wh-66hg\n","assigner":"GitHub_M","epss":1.42,"enisaIdProduct":[{"id":"15589226-7557-385b-9505-923dbfefd8d3","product":{"name":"prism","vendor":{"name":"PrismJS"}},"product_version":"\u003c 1.24"}],"enisaIdVendor":[{"id":"9426993e-9d33-3800-8ade-1e1e30021af6","vendor":{"name":"PrismJS"}}],"enisaIdVulnerability":[{"id":"78b71d04-1377-3ba3-a89b-0c36dd69bbe6","vulnerability":{"id":"GHSA-gj77-59wh-66hg","description":"Regular Expression Denial of Service (ReDoS) in Prism","datePublished":"Jun 28, 2021, 6:33:18 PM","dateUpdated":"Feb 8, 2022, 9:21:38 PM","baseScore":null,"references":"https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32723\nhttps://github.com/PrismJS/prism/pull/2688\nhttps://github.com/PrismJS/prism/pull/2774\nhttps://github.com/PrismJS/prism/commit/d85e30da6755fdbe7f8559f8e75d122297167018\nhttps://github.com/PrismJS/prism\nhttps://www.oracle.com/security-alerts/cpujan2022.html\n","enisa_id":"EUVD-2021-1326\n","aliases":"GHSA-gj77-59wh-66hg\nCVE-2021-32723\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"85ab6164-3fcf-3886-be31-4e85a31e5ac1","vulnerability":{"id":"CVE-2021-32723","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.","datePublished":"Jun 28, 2021, 7:15:15 PM","dateUpdated":"Aug 3, 2024, 11:33:54 PM","status":"PUBLISHED","baseScore":7.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H","references":"https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg\nhttps://github.com/PrismJS/prism/pull/2688\nhttps://github.com/PrismJS/prism/pull/2774\nhttps://www.oracle.com/security-alerts/cpujan2022.html\n","enisa_id":"EUVD-2021-1326\n","assigner":"GitHub_M","epss":1.42,"dataProcessed":"Nov 24, 2026, 7:26:19 AM","vulnerabilityProduct":[{"id":"d8e0d85d-a0cc-3ca9-a302-371d5ff57a73","product":{"name":"prism","vendor":{"name":"PrismJS"}},"product_version":"\u003c 1.24"}],"vulnerabilityVendor":[{"id":"ae245883-f57c-353a-b1ec-7c3264672823","vendor":{"name":"PrismJS"}}]}}],"enisaIdAdvisory":[]}