{"id":"CVE-2021-23341","details":"The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.","aliases":["GHSA-h4hr-7fg3-h35w"],"modified":"2026-03-14T14:50:49.726929Z","published":"2021-02-18T16:15:14.143Z","related":["SNYK-JAVA-ORGWEBJARS-1076583","SNYK-JAVA-ORGWEBJARSNPM-1076582","SNYK-JS-PRISMJS-1076581"],"references":[{"type":"FIX","url":"https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609"},{"type":"FIX","url":"https://github.com/PrismJS/prism/issues/2583"},{"type":"FIX","url":"https://github.com/PrismJS/prism/pull/2584"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/prismjs/prism","events":[{"introduced":"0"},{"fixed":"88a17b4ff586c8bbd0faf1b1524cee9e039fa580"},{"fixed":"c2f6a64426f44497a675cb32dccb079b3eff1609"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.23.0"}]}}],"versions":["1.4.0","1.5.0","1.5.1","v1.0.0","v1.0.1","v1.1.0","v1.10.0","v1.11.0","v1.12.0","v1.12.1","v1.12.2","v1.13.0","v1.14.0","v1.15.0","v1.16.0","v1.17.0","v1.17.1","v1.18.0","v1.19.0","v1.2.0","v1.20.0","v1.21.0","v1.22.0","v1.3.0","v1.4.1","v1.6.0","v1.7.0","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4","v1.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23341.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}