Vulnerability in Content Project
CVE-2026-35213
@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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 26.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Content Project
- Hapijs Content — versions < 6.0.1
Weakness classification (CWE)
References
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p (Vendor Advisory)
- https://github.com/hapijs/content/pull/38 (Patch, Issue Tracking)