NetSight
high7.5

CVE-2026-35213

@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing

Impact

@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.

Affected packages

EcosystemPackageAffectedFixed in
npm@hapi/content<= 6.0.06.0.1

Affected products

VendorProductAffected versions
Content ProjectContent
before 6.0.1

Weakness classification

References