8.7High
CVE-2026-35213Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing
Description
@hapi/content provided HTTP Content-* headers parsing. All versions of @hapi/content through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse Content-Type and Content-Disposition headers contain patterns susceptible to catastrophic backtracking. This vulnerability is fixed in 6.0.1.
Weakness (CWE):
CWE-1333
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| content project | content | < 6.0.1 | |
| hapijs | content | < 6.0.1 |
References and patches
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p Vendor Advisory
- https://github.com/hapijs/content/pull/38 Issue TrackingPatch
CPE matches (NVD) (1)
cpe:2.3:a:content_project:content:*:*:*:*:*:node.js:*:*< 6.0.1