# CVE-2025-52662: Nuxt DevTools cross-site scripting in auth component

Source: https://junglewise.ai/threats/cve-2025-52662-nuxt-devtools-cross-site-scripting-in-auth-component  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-07. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-52662 · Severity: medium · CVSS 6.9 · Published 2025-11-07

Nuxt DevTools is a browser extension used by developers to debug Nuxt.js applications. A cross-site scripting (XSS) vulnerability in the authentication component could allow an attacker to extract authentication tokens and hijack developer sessions, potentially compromising sensitive project data or credentials.

Technologies: [@nuxt/devtools (npm)](https://junglewise.ai/threats/technologies/nuxt-devtools), [Nuxt DevTools](https://junglewise.ai/threats/technologies/devtools). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Nuxt](https://junglewise.ai/threats/vendors/nuxt).

## Quick answers

**Is CVE-2025-52662 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-52662 being exploited in the wild.

**How severe is CVE-2025-52662?** Medium severity, with a CVSS score of 6.9, published 7 November 2025.

**Which products and versions are affected?** @nuxt/devtools (npm) SEMVER:introduced=0,fixed=2.6.4; Nuxt DevTools before 2.6.4.

**Is there a fix for CVE-2025-52662?** Yes. @nuxt/devtools (npm): upgrade to 2.6.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-52662 attacked?** It is attacked over the network.

**Am I affected by CVE-2025-52662?** Check whether you run @nuxt/devtools (npm) or Nuxt DevTools at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @nuxt/devtools (npm): upgrade to 2.6.4 or later

  ```sh
  npm install @nuxt/devtools@2.6.4
  ```


## Technical details

A reflected XSS vulnerability exists in Nuxt DevTools' authentication page (CWE-79) due to unsafe DOM manipulation using `innerHTML` instead of `textContent`. The vulnerability affects all versions prior to 2.6.4. The attack requires user interaction (clicking a malicious link) and a specific configuration, but is network-accessible. A successful exploit allows extraction of Nuxt auth tokens and potential session hijacking. The fix replaces `innerHTML` with `textContent` in the auth component to prevent script injection.

## Affected products

- Nuxt DevTools before 2.6.4

## Identifiers

- CVE-2025-52662
- GHSA-xmq3-q5pm-rp26

## Timeline

- 2025-11-07: disclosed
- 2025-11-07: patched: Fixed in version 2.6.4

## References

- [https://github.com/nuxt/devtools/commit/7cadbbe9](https://github.com/nuxt/devtools/commit/7cadbbe9)

## Related threats

- [Nuxt DevTools command injection via unauthenticated RPC channel](https://junglewise.ai/threats/cve-2026-71319-nuxt-devtools-command-injection-via-unauthenticated-rpc-channel)
- [Nuxt Devtools path traversal and authentication bypass](https://junglewise.ai/threats/cve-2024-23657-nuxt-devtools-path-traversal-and-authentication-bypass)
