Hapijs @hapi/content
@hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing
@hapi/content from 6.0.1 before 6.0.3 contains a regular expression denial of service vulnerability in Content.disposition() caused by an incomplete fix for CVE-2026-35213. Unauthenticated remote attackers can send multipart uploads with a long Content-Disposition parameter lacking an equals sign, triggering quadratic backtracking that blocks the event loop.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-1333
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
hapijs @hapi/content
- >= 6.0.1, < 6.0.3
Fixed in 6.0.3
Mitigation
Upgrade @hapi/content to 6.0.3 or later.
References
- Patch github.com/hapijs/content/pull/42
- Patch github.com/hapijs/content/commit/0993851dc7234…
- Release notes github.com/hapijs/content/tree/v6.0.3
1 more
- Vendor advisory github.com/hapijs/content/security/advisories/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.