Skip to main content
← All vulnerabilities
CVE-2025-24361GHSA-4GF7-FF8X-HQ99

Opening a malicious website while running a Nuxt dev server could allow read-only access to code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.15.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Nuxt is an open-source web development framework for Vue.js. Source code may be stolen during dev when using version 3.0.0 through 3.15.12 of the webpack builder or version 3.12.2 through 3.152 of the rspack builder and a victim opens a malicious web site. Because the request for classic script by a script tag is not subject to same origin policy, an attacker can inject a malicious script in their site and run the script. By using `Function::toString` against the values in `window.webpackChunknuxt_app`, the attacker can get the source code. Version 3.15.13 of Nuxt patches this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nuxt nuxt

    From 3.0.0 · fixed in 3.15.3; From 3.12.2 · fixed in 3.15.3

  • @nuxt/webpack-buildernpm

    From 3.0.0 · fixed in 3.15.3

  • @nuxt/rspack-buildernpm

    From 3.12.2 · fixed in 3.15.3

References 2

GitHub · nuxt/nuxt