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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | prismjs | unspecified – < 1.23.0 | 1.23.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-prismjs | 1.23.0+dfsg-1 | — |
| Debian 13 | node-prismjs | 1.23.0+dfsg-1 | — |
| Debian 12 | node-prismjs | 1.23.0+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-prismjs | No fix yet | — |
| Ubuntu 26.04 LTS | node-prismjs | No fix yet | — |
| Ubuntu 25.10 | node-prismjs | No fix yet | — |
| Ubuntu 24.04 LTS | node-prismjs | No fix yet | — |
| Ubuntu 22.04 LTS | node-prismjs | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-prismjs | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | prismjs | < 1.23.0 | 1.23.0 | GHSA-h4hr-7fg3-h35w |
References
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
- https://github.com/PrismJS/prism/issues/2583
- https://github.com/PrismJS/prism/pull/2584