CVE-2025-62610
JavaScript vulnerability analysis and mitigation

Overview

Hono's JWT Auth Middleware (versions 1.1.0 to before 4.10.2) contains a vulnerability related to improper authorization in JWT audience validation. The middleware did not validate the aud (Audience) claim by default, which could allow tokens intended for different audiences to be accepted, potentially leading to cross-service access through token mix-up attacks (GitHub Advisory).

Technical details

The vulnerability stems from the middleware's verifyOptions only enumerating iss, nbf, iat, and exp claims, without including aud validation. This omission violates RFC 7519 §4.1.3, which requires that when an aud claim is present, tokens MUST be rejected unless the processing party identifies itself in that claim. The vulnerability has been assigned CVE-2025-62610 with a CVSS v3.1 score of 8.1 (HIGH), having a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N (GitHub Advisory, NVD).

Impact

The vulnerability primarily affects Hono users who share an issuer/keys across multiple services (common with a single IdP/JWKS) and distinguish tokens by intended recipient using aud. It can lead to cross-service access where a token for Service B may be accepted by Service A, and boundary erosion where ID tokens and access tokens can be intermixed. For example, in Google Identity (OIDC) implementations, an attacker could obtain a valid ID token for a victim user from a separate service and use it to access the API with the victim's privileges (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in version 4.10.2. Users should upgrade to this version and enable RFC 7519-compliant audience validation using the new verification.aud configuration option. The recommended secure configuration involves explicitly setting the aud parameter in the JWT middleware configuration (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management