Skip to main content
← All vulnerabilities
CVE-2026-35213GHSA-JG4P-7FHP-P32P

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

@hapi/content provided HTTP Content-* headers parsing. 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 vulnerability is fixed in 6.0.1.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • hapijs content

    fixed in 6.0.1

  • @hapi/contentnpm

    fixed in 6.0.1

References 2

GitHub · hapijs/content