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 (updated August 4, 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/pull/6512
  • github.com/nuxt/ui/releases/tag/v4.8.1
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.8.1

Fixed versions

  • 4.8.1

Solution

Upgrade to version 4.8.1 or above.

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 Sun, 08 Nov 2026 00:16:51 +0000.