{"cve":"CVE-2021-32723","nvd":{"published":"2021-06-28T20:15:07.857","modified":"2026-06-17T03:53:30.117","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-400"],"references":["https://github.com/PrismJS/prism/pull/2688","https://github.com/PrismJS/prism/pull/2774","https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg","https://www.oracle.com/security-alerts/cpujan2022.html","https://github.com/PrismJS/prism/pull/2688"],"products":["oracle:application_express","prismjs:prism"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-32723","score":0.01421,"percentile":0.72853,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-gj77-59wh-66hg","url":"https://osv.dev/vulnerability/GHSA-gj77-59wh-66hg","summary":"Regular Expression Denial of Service (ReDoS) in Prism","modified":"2026-07-08T06:28:40.129617187Z","packages":[{"ecosystem":"npm","name":"prismjs","purl":"pkg:npm/prismjs","ranges":["<1.24.0"],"fixed":["1.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}