VDB
Sign up
HIGH

GHSA-h4hr-7fg3-h35w

Denial of service in prismjs

Quick fix

GHSA-h4hr-7fg3-h35w — prismjs: upgrade to the fixed version with the command below.

npm install prismjs@1.23.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/prismjs
Introduced in: 0Fixed in: 1.23.0
Fixnpm install prismjs@1.23.0

References