Hono
Hono has a path traversal in toSSG() allows writing files outside the output directory
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
honojs hono
- < 4.12.12
Fixed in 4.12.12
Mitigation
Upgrade hono to 4.12.12 or later.
References
- Vendor advisory github.com/honojs/hono/security/advisories/GHS…
- Patch github.com/honojs/hono/commit/b470278920fffcfd…
- Release notes github.com/honojs/hono/releases/tag/v4.12.12
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.