prismjs Regular Expression Denial of Service vulnerability
Moderate severity
GitHub Reviewed
Published
Sep 20, 2021
to the GitHub Advisory Database
•
Updated Jan 29, 2023
Description
Published by the National Vulnerability Database
Sep 15, 2021
Reviewed
Sep 16, 2021
Published to the GitHub Advisory Database
Sep 20, 2021
Last updated
Jan 29, 2023
Prism is a syntax highlighting library. The prismjs package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide a crafted HTML comment as input may cause an application to consume an excessive amount of CPU.
References