Vulnerability GHSA-jg4p-7fhp-p32p

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
7 months ago
April 04, 2026 at 04:23 AM UTC
@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing
4.1.0 - 6.0.0
4.1.0 - 6.0.0

Summary

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

Details

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 has been fixed in v6.0.1.

Impact

Denial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.

Patches

Fixed by tightening all three regular expressions to eliminate backtracking.

Workarounds

There are no known workarounds. Upgrade to the patched version.

Impacted packages

Timeline

Published
7 months ago
April 04, 2026 at 04:23 AM UTC
Fixed (6.0.1)
6 months ago
April 04, 2026 at 10:00 AM UTC
Last Modified
7 days ago
October 24, 2026 at 02:55 AM UTC