Description
@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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hapijs | @hapi/content | >= 6.0.1, < 6.0.3 |
References
- https://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96
- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd
- https://github.com/hapijs/content/pull/42
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p
- https://github.com/hapijs/content/tree/v6.0.3
- https://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing
Timeline
- Published
- Oct 23, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Awaiting Analysis