### [CVE-2021-23341](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23341) ![](https://img.shields.io/static/v1?label=Product&message=prismjs&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%201.23.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Regular%20Expression%20Denial%20of%20Service%20(ReDoS)&color=brighgreen) ### Description 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. ### POC #### Reference - https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583 - https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582 - https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581 #### Github - https://github.com/engn33r/awesome-redos-security - https://github.com/yetingli/PoCs