Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path traversal issue in toSSG() allows files to be written outside the configured output directory during static site generation. When using dynamic route parameters via ssgParams, specially crafted values can cause generated file paths to escape the intended output directory. This vulnerability is fixed in 4.12.12.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/...s/hono/security/advisories/GHSA-xf4j-xp2r-rqqx
github.com/...ommit/b470278920fffcfd6d76002755d6db53db827679
github.com/honojs/hono/releases/tag/v4.12.12