Inefficient Regular Expression Complexity in prismjs/prism
Priority LOW 31CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
prism is vulnerable to Inefficient Regular Expression Complexity
Why it matters now
EPSS 0.01036 64th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial prismjs (npm): 1.25.0Red Hat: 1 advisoryRed Hat: 1 fixed, 5 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PrismJS | prismjs/prism | up to 1.24.1 | — | No fix listed | CNA |
| — | prismjs (npm) | before 1.25.0 | 1.25.0 | Patch available | GHSA-hqhp-5p83-hx96 |
- prismjs/prism VendorPrismJS Affected up to 1.24.1 Fixed in — No fix listed CNA
- prismjs (npm) Vendor— Affected before 1.25.0 Fixed in 1.25.0 Patch available GHSA-hqhp-5p83-hx96
Remediation
- Fix · GHSA-hqhp-5p83-hx96 prismjs (npm) Fixed in 1.25.0 Advisory →
Red Hat 1 advisory
- RHSA-2021:4902 Released 2021-12-01 · Red Hat rating ModerateACS 3.67 security and enhancement update
- RHACS 3.67 for RHEL 8 advanced-cluster-security/rhacs-rhel8-operator
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Virtualization | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 2.0 | Affected | No fix yet |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| RHACS 3.67 for RHEL 8 | Fixed | RHSA-2021:4902 |
Not affected: 2 products
- RHACS 3.67 for RHEL 8
- Red Hat Ceph Storage 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3801
- 2026-10-03 Alias added: GHSA-hqhp-5p83-hx96
References
More PrismJS Prism vulnerabilities
- TI-2024-35787 Code injection in PrismJS Prism CVSS 3.1MEDIUM 5.4
- TI-2021-06039 Regular expression denial of service (ReDoS) in prismjs CVSS 3.1HIGH 7.5
- TI-2022-07699 Cross-site Scripting in Prism CVSS 3.1HIGH 7.5
- TI-2021-12391 Regular Expression Denial of Service (ReDoS) in Prism CVSS 3.1HIGH 7.4
Sources
- CVE-2021-3801 · CVE Program
- CVE-2021-3801 · NVD
- FIRST EPSS
- GHSA-hqhp-5p83-hx96 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3801 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences