Skip to content

fix(deps): update dependency hono to v4.12.14 [security]#4362

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-hono-vulnerability
Open

fix(deps): update dependency hono to v4.12.14 [security]#4362
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-hono-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 4, 2026

This PR contains the following updates:

Package Change Age Confidence
hono (source) 4.12.124.12.14 age confidence

hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR

GHSA-458j-xx4x-4375

More information

Details

Summary

Improper handling of JSX attribute names in hono/jsx allows malformed attribute keys to corrupt the generated HTML output.

When untrusted input is used as attribute keys during server-side rendering, specially crafted keys can break out of attribute or tag boundaries and inject unintended HTML.

Details

When rendering JSX elements to HTML strings, attribute values are escaped, but attribute names (keys) were previously inserted into the output without validation.

If an attribute name contains characters such as ", >, or whitespace, it can alter the structure of the generated HTML.

For example, malformed attribute names can:

  • Break out of the current attribute and introduce unintended additional attributes
  • Break out of the current HTML tag and inject new elements into the output

This issue arises when untrusted input (such as query parameters or form data) is used as JSX attribute keys during server-side rendering.

Impact

An attacker who can control attribute keys used in JSX rendering may inject unintended attributes or HTML elements into the generated output.

This may lead to:

  • Injection of unexpected HTML attributes
  • Corruption of the HTML structure
  • Potential cross-site scripting (XSS) if combined with unsafe usage patterns

This issue affects applications that pass untrusted input as JSX attribute keys during server-side rendering.

Severity

  • CVSS Score: 4.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

honojs/hono (hono)

v4.12.14

Compare Source

Security fixes

This release includes fixes for the following security issues:

Improper handling of JSX attribute names in hono/jsx SSR

Affects: hono/jsx. Fixes missing validation of JSX attribute names during server-side rendering, which could allow malformed attribute keys to corrupt the generated HTML output and inject unintended attributes or elements. GHSA-458j-xx4x-4375

Other changes

  • fix(aws-lambda): handle invalid header names in request processing (#​4883) fa2c74f

v4.12.13

Compare Source

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.12...v4.12.13


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Mar 4, 2026
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch from f32b416 to a93c038 Compare March 11, 2026 02:04
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.4 [security] fix(deps): update dependency hono to v4.12.7 [security] Mar 11, 2026
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch from a93c038 to 9caae8f Compare March 13, 2026 10:51
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.7 [security] fix(deps): update dependency hono to v4.12.7 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-hono-vulnerability branch March 27, 2026 02:13
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.7 [security] - autoclosed fix(deps): update dependency hono to v4.12.10 [security] Apr 2, 2026
@renovate renovate Bot reopened this Apr 2, 2026
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch 2 times, most recently from 9caae8f to 9e80667 Compare April 2, 2026 13:16
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.10 [security] fix(deps): update dependency hono to v4.12.12 [security] Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch 2 times, most recently from 0ae9c83 to 113c399 Compare April 8, 2026 08:26
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.12 [security] fix(deps): update dependency hono to v4.12.12 [security] - autoclosed Apr 11, 2026
@renovate renovate Bot closed this Apr 11, 2026
@renovate renovate Bot changed the title fix(deps): update dependency hono to v4.12.12 [security] - autoclosed fix(deps): update dependency hono to v4.12.14 [security] Apr 16, 2026
@renovate renovate Bot reopened this Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch 2 times, most recently from 113c399 to b5bebd6 Compare April 16, 2026 02:42
@renovate renovate Bot force-pushed the renovate/npm-hono-vulnerability branch from b5bebd6 to c5b2a08 Compare April 29, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants