GHSA-gj77-59wh-66hg · Severity: high · Ecosystem: npm — Regular Expression Denial of Service (ReDoS) in Prism
Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.
Conclusion & alert: CVE-2021-32723 is rated Moderate Risk (49.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.37%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-04-23 | 0.55% | 0.37% | -0.17% |
| 2 | 2025-04-03 | 0.41% | 0.55% | +0.13% |
| 3 | 2025-03-31 | — | 0.41% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.4 | 3.1 | HIGH |
|
2.8 | 4.0 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-gj77-59wh-66hg · Severity: high · Ecosystem: npm — Regular Expression Denial of Service (ReDoS) in Prism
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-32723 |
ubuntu
|
medium | CVE-2021-32723 medium priority: Ubuntu including 1 source packages (node-prismjs), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 9, needed 4, DNE 2, released 1. | https://ubuntu.com/security/CVE-2021-32723 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| prismjs | prism | < 1.24.0 | cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:* |
| oracle | application_express | < 21.1.4 | cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/PrismJS/prism/pull/2688 | Patch Third Party Advisory |
| https://github.com/PrismJS/prism/pull/2774 | Patch Third Party Advisory |
| https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujan2022.html | Patch Third Party Advisory |