CVE-2025-52662 Nuxt DevTools vulnerable to cross-site scripting (XSS)
An XSS vulnerability in Nuxt DevTools could allow attackers to extract authentication tokens under specific configurations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-52662?
CVE-2025-52662 is a medium-severity cross-site scripting vulnerability in Vercel Nuxt Devtools, published on 7 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability in Nuxt DevTools has been fixed in version **2.6.4***. This issue may have allowed Nuxt auth token extraction via XSS under certain configurations. All users are encouraged to upgrade. More details: https://vercel.com/changelog/cve-2025-52662-xss-on-nuxt-devtools
Weakness: CWE-79
Which versions are affected by CVE-2025-52662?
2 open source packages ship an affected version, including @nuxt/devtools. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@nuxt/devtools npm | All versions | 2.6.4 |
@nuxt/devtools npm | All versions | 2.6.4 |
Products include Nuxt Devtools.
How do I fix CVE-2025-52662?
Upgrade @nuxt/devtools to 2.6.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-52662 being exploited?
There is no known exploitation of CVE-2025-52662 in the wild and no public exploit code.
Sources
Also known as GHSA-xmq3-q5pm-rp26.