Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nuxt/ui
  4. ›
  5. GHSA-gj2h-2fpw-fhv9

GHSA-gj2h-2fpw-fhv9: @nuxt/ui: UAuthForm / UForm SSR markup omits `method`, leaking credentials via GET if submitted before hydration

July 2, 2026

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.

References

  • github.com/advisories/GHSA-gj2h-2fpw-fhv9
  • github.com/nuxt/ui/security/advisories/GHSA-gj2h-2fpw-fhv9

Code Behaviors & Features

Detect and mitigate GHSA-gj2h-2fpw-fhv9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.7.1

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-598: Use of GET Request Method With Sensitive Query Strings

Source file

npm/@nuxt/ui/GHSA-gj2h-2fpw-fhv9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:20:44 +0000.