CVE-2026-53722 Details
Description
Nuxt is an open-source web development framework for Vue.js. Prior to versions 3.21.7 and 4.4.7, <NuxtLink> did not validate the URL scheme of values bound to its to or href props before rendering them into the href attribute of the underlying <a> element. When an application binds attacker-controlled input (a query parameter, a CMS field, a user-supplied profile URL) to <NuxtLink :to> or :href, the attacker can supply a javascript: or vbscript: URL that is reflected verbatim into the rendered markup. Clicking the link executes the supplied script in the origin of the Nuxt application, resulting in reflected DOM-based cross-site scripting. A data:text/html,... payload reflected through the same sink does not execute in the application's origin but enables a same-tab phishing surface anchored to a legitimate application link. The same value was exposed to consumers of the component's custom slot via the href and route.href props, so applications that re-bind those values to their own anchors were affected identically. This issue has been patched in versions 3.21.7 and 4.4.7.
A reflected cross-site scripting vulnerability has been identified in the Nuxt framework, specifically within the NuxtLink component. This issue arises because the component did not properly validate the URL scheme of values assigned to its 'to' or 'href' props before rendering them in the 'href' attribute of the underlying anchor element. As a result, when applications bind user-controlled input—such as query parameters, CMS fields, or profile URLs—to NuxtLink, an attacker can inject 'javascript:' or 'vbscript:' URLs. These malicious scripts are executed in the context of the Nuxt application, leading to reflected DOM-based cross-site scripting. Additionally, a 'data:text/html,...' payload, while not executing the script, creates a phishing opportunity by anchoring to a legitimate application link. This vulnerability affects Nuxt versions 4.0.0 through 4.4.7 and prior to 3.21.7.
Users can upgrade to Nuxt versions 4.4.7 or 3.21.7, where this vulnerability has been patched. The fix involves sanitizing the 'href' value to remove control characters and whitespace, reject script-capable protocols, and ensure the link is safe before rendering.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-83 | Improper Neutralization of Script in Attributes in a Web Page | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nuxt nuxt | < 3.21.7 >= 4.0.0, < 4.4.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | Initial Analysis | [email protected] |
| Jun 12, 2026 | New CVE Received | [email protected] |