What’s Vulnerable › Vulnerabilities

CVE-2026-35213: Regular 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.

Affected products

How to fix

Upgrade to a fixed version: hapijs content 6.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-35213 or the next vulnerability affects your stack