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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-1333 — Inefficient Regular Expression Complexity
Affected products
| Vendor | Product | Versions |
|---|---|---|
| hapijs | @hapi/content | 6.0.1 to <6.0.3 [affected] |
References
- https://github.com/hapijs/content/pull/42 (issue-tracking patch)
- https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd (patch)
- https://github.com/hapijs/content/tree/v6.0.3 (release-notes)
- https://github.com/hapijs/content/blob/v6.0.2/lib/index.js#L96 (technical-description)
- https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p (related vendor-advisory)
- https://www.vulncheck.com/advisories/hapi-content-6.0.1-before-6.0.3-redos-via-content-disposition-parameter-parsing (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 24 Oct 2026 07:01 UTC.