Description
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.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
4.0.0 (semver) before 4.4.7
4.4.7 (semver)
Any version before 3.21.7
3.21.7 (semver)
Credits
alcls01111
References
github.com/nuxt/nuxt/security/advisories/GHSA-c9cv-mq2m-ppp3 (GitHub Security Advisory (GHSA-c9cv-mq2m-ppp3))
github.com/...ommit/3394716d4a913cba904b028df5338f2aead50032
github.com/...ommit/62fc32eddf648b00a3890141e0235d2a222b024d
www.vulncheck.com/...te-scripting-via-navigateto-open-option (VulnCheck Advisory: Nuxt - Cross-Site Scripting via navigateTo open Option)