CVE 8.7 HIGH

Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing_CVE-2026-35213

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

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.

Basic Information

ID CVE-2026-35213
Source GitHub_M
Published Apr 6, 2026 at 20:08
Modified Apr 7, 2026 at 14:02

Affected Product

Vendor hapijs
Product content
Version < 6.0.1
Affected Versions hapijs content < 6.0.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.