{"id":"GHSA-h4hr-7fg3-h35w","summary":"Denial of service in prismjs","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":["CVE-2021-23341"],"modified":"2025-01-08T07:12:14.111835Z","published":"2021-03-01T19:52:33Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-02-24T07:34:23Z","nvd_published_at":"2021-02-18T16:15:00Z","cwe_ids":["CWE-400"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23341"},{"type":"WEB","url":"https://github.com/PrismJS/prism/issues/2583"},{"type":"WEB","url":"https://github.com/PrismJS/prism/pull/2584"},{"type":"WEB","url":"https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581"},{"type":"WEB","url":"https://www.npmjs.com/package/prismjs"}],"affected":[{"package":{"name":"prismjs","ecosystem":"npm","purl":"pkg:npm/prismjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.23.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-h4hr-7fg3-h35w/GHSA-h4hr-7fg3-h35w.json"}}],"schema_version":"1.9.0"}