Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters

State
Published
Severity
5.3 Medium
Published
Nov 12, 2026
Updated
Nov 13, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

Description

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.5.1 until 4.13.16, validator('form') uses a strict whole-header pattern that fails to recognize multipart/form-data when its Content-Type includes another legal parameter or extra whitespace after a semicolon. The validation callback receives an empty object even though c.req.parseBody() or c.req.formData() can still parse and expose all submitted fields to the handler. An unauthenticated client can therefore bypass allow-list or required-field checks when the application relies on the form validator and its callback accepts an empty object. application/x-www-form-urlencoded requests are not affected. This issue is fixed in version 4.13.16.

ProductVersions
hono honojs>= 4.5.1, < 4.13.16 Affected

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-1471 Insufficiently Controlled Parser Differential

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.