hono@3.12.12 vulnerabilities

Web framework built on Web Standards

  • latest version

    4.8.3

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the hono package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Request Forgery (CSRF)

    hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) through the csrf function. An attacker can bypass CSRF protection by sending a request without a Content-Type header.

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade hono to version 4.6.5 or higher.

    <4.6.5
    • L
    Cross-Site Request Forgery (CSRF)

    hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) via the isRequestedByFormElementRe function. An attacker can bypass CSRF protection by using a crafted Content-Type header with case manipulation.

    How to fix Cross-Site Request Forgery (CSRF)?

    Upgrade hono to version 4.5.8 or higher.

    <4.5.8
    • M
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    hono is an Ultrafast web framework for the Edges

    Affected versions of this package are vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') such that when using serveStatic with deno, it is possible to traverse the directory where main.ts is located, leading to the retrieval of unexpected files.

    How to fix Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')?

    Upgrade hono to version 4.2.7 or higher.

    <4.2.7