Home

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.

PUBLISHED Reserved 2026-04-01 | Published 2026-04-06 | Updated 2026-04-07 | Assigner GitHub_M




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-1333: Inefficient Regular Expression Complexity

Product status

< 6.0.1
affected

References

github.com/...ontent/security/advisories/GHSA-jg4p-7fhp-p32p

github.com/hapijs/content/pull/38

cve.org (CVE-2026-35213)

nvd.nist.gov (CVE-2026-35213)

Download JSON