Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo.
Nuxt - Cross-Site Scripting via navigateTo open Option
Problem type
Affected products
Nuxt
< 4.4.7 - AFFECTED
4.4.7 - UNAFFECTED
< 3.21.7 - AFFECTED
3.21.7 - UNAFFECTED
References
https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3
https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032
https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d
https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-navigateto-open-option
GitHub Security Advisories
GHSA-h345-75vh-jjwf
Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in...
https://github.com/advisories/GHSA-h345-75vh-jjwfNuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo.
https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3
https://nvd.nist.gov/vuln/detail/CVE-2026-56698
https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032
https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d
https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-navigateto-open-option
https://github.com/advisories/GHSA-h345-75vh-jjwf
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-56698Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-56698",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-06-22T21:04:53.739Z",
"dateReserved": "2026-06-22T17:09:16.556Z",
"datePublished": "2026-06-22T21:04:53.739Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-06-22T21:04:53.739Z"
},
"datePublic": "2026-06-02T00:00:00.000Z",
"title": "Nuxt - Cross-Site Scripting via navigateTo open Option",
"descriptions": [
{
"lang": "en",
"value": "Nuxt versions 4.0.0 before 4.4.7 and 3.x before 3.21.7 fail to validate script-capable URLs in the navigateTo open option, allowing client-side script execution. Attackers can supply javascript: URLs through the open parameter to execute arbitrary scripts in the application's origin when user-controlled input is passed to navigateTo."
}
],
"affected": [
{
"vendor": "Nuxt",
"product": "Nuxt",
"defaultStatus": "unaffected",
"versions": [
{
"version": "4.0.0",
"status": "affected",
"versionType": "semver",
"lessThan": "4.4.7"
},
{
"version": "4.4.7",
"status": "unaffected",
"versionType": "semver"
}
]
},
{
"vendor": "Nuxt",
"product": "Nuxt",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "3.21.7"
},
{
"version": "3.21.7",
"status": "unaffected",
"versionType": "semver"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3",
"name": "GitHub Security Advisory (GHSA-c9cv-mq2m-ppp3)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032",
"name": "https://github.com/nuxt/nuxt/commit/3394716d4a913cba904b028df5338f2aead50032",
"tags": [
"patch"
]
},
{
"url": "https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d",
"name": "https://github.com/nuxt/nuxt/commit/62fc32eddf648b00a3890141e0235d2a222b024d",
"tags": [
"patch"
]
},
{
"url": "https://www.vulncheck.com/advisories/nuxt-cross-site-scripting-via-navigateto-open-option",
"name": "VulnCheck Advisory: Nuxt - Cross-Site Scripting via navigateTo open Option",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM"
}
}
],
"credits": [
{
"lang": "en",
"value": "alcls01111",
"type": "reporter"
}
]
}
}
}