Hono 4.5.1 before 4.13.18 Validation Bypass via Content-Type Formatting
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| honojshono |
≥ 4.5.1, < 4.13.18→ 4.13.18 |
4.13.18 |
Original description The description as published by the source.
Hono from 4.5.1 before 4.13.18 contains a validation bypass vulnerability in validator('json') and validator('form') that allows unauthenticated attackers to skip validation by formatting Content-Type parameters differently. Attackers can add whitespace before semicolons, trailing semicolons, or underscored parameter names so validators receive empty objects while handlers still read rejected fields.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com