Description (CNA)
@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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| hapijs / @hapi/content | affected 6.0.1 before 6.0.3 |
CWE
CWE-1333
References
- https://github.com/hapijs/content/pull/42
- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd
- https://github.com/hapijs/content/tree/v6.0.3
- https://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p
- https://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing