@nuxt/ui: UAuthForm / UForm SSR markup omits method, leaking credentials via GET if submitted before hydration
UForm and UAuthForm render a server-side <form> element with no method and no action attribute, relying on a hydrated @submit.prevent handler to intercept submission. If a user submits the form before Vue hydration has attached the handler (autofill plus Enter on a slow network, JS bundle blocked by CSP or CDN failure, etc.), the browser performs the native default: a GET to the current URL with every named field, including <input type="password">, serialised into the query string.
Recorded fixes — @nuxt/ui: 4.8.1. Check your release branch.
Public exploit reference
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.8.1Semantic versions | 4.8.1 |
Version evidence: OSV · GHSA-gj2h-2fpw-fhv9
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}