Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-126359 — Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection

Low · CVSS 3.4EPSS 0.3% First seen November 12, 2026

One of 5 npm:hono vulnerabilities published together by GitHub Advisory: our article covers all of them.

JavaScriptWebBrowsersVulnerabilitiesLaw enforcement

Research article

HonoJS Vulnerability Allows HTML Injection via CSS Template Interpolation

CVECVE-2026-126359
Vendor and productnpm:hono; honojs hono
PublishedNovember 22, 2026 06:30 UTC
Research cut-offNovember 22, 2026 06:15 UTC
Sources reviewed4: NVD record (last modified 2026-11-17); CISA KEV catalog; GitHub advisory (2026-11-12); FIRST EPSS (2026-11-21)

Executive summary

CVE-2026-126359 affects the honojs hono library, with a CVSS 3.1 score of 3.4 LOW, scored by security-advisories@github.com [1]. The vulnerability exists in versions >= 3.12.0 and < 4.13.16 [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to the fixed version 4.13.16 [3].

Key points

  • CVE-2026-126359 affects the honojs hono library with a CVSS 3.1 score of 3.4 LOW [1].
  • The vulnerability exists in versions >= 3.12.0 and < 4.13.16 [1].
  • The reviewed sources do not report exploitation [2].
  • The `css` helper fails to escape a `/` following a `<` in interpolated values, allowing HTML injection [3].
  • The fixed version is 4.13.16 [3].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126359honojshonoCWE-793.4 LOW, scored by security-advisories@github.com [1]2026-11-132026-11-17Deferred

Vulnerability description

A flaw in the css helper of the hono/css module fails to properly escape a / that follows a < within an interpolated value, which can leave the closing tag of a <style> element unescaped [3]. This can result in HTML injection if untrusted strings are interpolated into a css template immediately after a < character [3].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability requires network access (AV:N), high access complexity (AC:H), no privileges (PR:N), and user interaction (UI:R) [1]. The advisory says the vulnerability is triggered when untrusted strings are interpolated into a css template immediately after a < character [3].

Impact analysis

The CVSS vector shows low confidentiality impact (C:L), no integrity impact (I:N), and no availability impact (A:N). The advisory notes that the impact includes the execution of scripts controlled by an attacker in the browsers of users viewing the vulnerable page, as well as the possible exposure of sensitive data [3].

Affected products and versions

AffectedFixed
hono >= 3.12.0, < 4.13.16hono 4.13.16 [3]

Exploitation and threat intelligence status

CVE-2026-126359 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-22 [2]. The EPSS score for this CVE is 0.0026 (0.26%), which suggests a low estimated likelihood of exploitation within the next 30 days [4].

Detection and exposure assessment

Users can assess their exposure by verifying if their hono installation falls within the vulnerable range: >= 3.12.0 and < 4.13.16 [1]. The sources do not provide specific detection procedures [3].

Remediation

The fixed version is 4.13.16 [3]. To mitigate the risk, avoid inserting untrusted values into css templates or ensure that the text preceding an interpolated value does not end with < [3].

Remediation checklist

  1. Upgrade to hono 4.13.16 to address the vulnerability [3].
  2. Avoid inserting untrusted values into `css` templates or ensure the text preceding an interpolated value does not end with `<` [3].
  3. Review and update any affected components to prevent potential HTML injection attacks.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not describe the attack lifecycle or specific exploitation scenarios.
  • The sources do not provide indicators of compromise.
  • The sources do not list a fixed version for all affected products.

References

  1. CVE-2026-126359 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-126359. Accessed 2026-11-22. Vulnerability identification, Vulnerability description, Affected products and versions, CVSS scores
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-22. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-22. Exploitation and threat intelligence status
  3. GHSA-3gg2-335m-rxc6 / CVE-2026-126359 — Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection. GitHub Security Advisory Database, 2026-11-12. https://github.com/advisories/GHSA-3gg2-335m-rxc6. Accessed 2026-11-22. Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation, Workarounds and compensating controls
  4. EPSS score for CVE-2026-126359. FIRST, 2026-11-21. https://api.first.org/data/v1/epss?cve=CVE-2026-126359. Accessed 2026-11-22. Exploitation and threat intelligence status

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

Low · 3.4 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
yes, someone must click, open or visit something
Scope
reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
Impact
low on confidentiality, none on integrity and availability

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
hono (npm)≥ 3.12.0, ≤ 4.13.154.13.16
honojs hono>= 3.12.0, < 4.13.16—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Details

Summary

The css helper in hono/css escapes a / that follows < inside an interpolated value so that a value cannot close the <style> element. The check only looks inside each value. When the text before a value ends with <, whether that is the template itself or an earlier interpolated value, and the next value starts with /, the / is not escaped and the combined output contains an unescaped closing tag.

Details

Interpolated string values are escaped one at a time before they are joined with the surrounding template text. The rule that neutralizes </ therefore cannot see a < that belongs to the template. A template such as a content declaration that opens with a literal < and interpolates a string right after it produces a raw </style> when that string starts with /style>. During server-side rendering the <Style /> element is closed early and the rest of the value is interpreted as HTML.

This issue arises only when < is the last character before an interpolation in a css template, either written in the template or supplied by a preceding value, and the interpolated value is controlled by a client.

Impact

A client that controls such a value can inject HTML, including script, into the page rendered on the server.

This may lead to:

  • Execution of attacker-controlled script in the browser of a user who views the page
  • Exposure of information available to that page

This issue affects applications that interpolate untrusted strings into a css template immediately after a <, including two adjacent interpolations such as ${prefix}${name} where both are untrusted. Other uses of the css helper are not affected.

Workarounds

Do not interpolate untrusted values into css templates, or make sure the text before an interpolated value does not end with <.

Source: GHSA-3gg2-335m-rxc6 / CVE-2026-126359, GitHub Advisory Database, licensed CC BY 4.0.

Affected

  • npm:hono
  • honojs hono

Frequently asked questions

What is CVE-2026-126359?

CVE-2026-126359 affects the honojs hono library, with a CVSS 3.1 score of 3.4 LOW, scored by security-advisories@github.com. The vulnerability exists in versions >= 3.12.0 and < 4.13.16. The reviewed sources do not report exploitation. The main action is to upgrade to the fixed version 4.13.16. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-126359?

CVE-2026-126359 has a CVSS 3.1 base score of 3.4 (low), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Is CVE-2026-126359 being exploited?

Not as far as is known: CVE-2026-126359 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126359?

hono (npm) ≥ 3.12.0, ≤ 4.13.15 (fixed in 4.13.16); honojs hono >= 3.12.0, < 4.13.16.

How do I fix CVE-2026-126359?

Upgrade to hono 4.13.16 to address the vulnerability. Avoid inserting untrusted values into css templates or ensure the text preceding an interpolated value does not end with <. Review and update any affected components to prevent potential HTML injection attacks.

Timeline & sources

References

Related vulnerabilities & news