// For flags

CVE-2025-24361

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

Severity Score

5.3
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
Poc
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-01-20 CVE Reserved
  • 2025-01-25 CVE Published
  • 2025-02-12 CVE Updated
  • 2025-04-03 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-749: Exposed Dangerous Method or Function
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Nuxt
Search vendor "Nuxt"
Nuxt
Search vendor "Nuxt" for product "Nuxt"
>= 3.0.0 < 3.15.3
Search vendor "Nuxt" for product "Nuxt" and version " >= 3.0.0 < 3.15.3"
en
Affected
Nuxt
Search vendor "Nuxt"
Nuxt
Search vendor "Nuxt" for product "Nuxt"
>= 3.12.2 < 3.15.3
Search vendor "Nuxt" for product "Nuxt" and version " >= 3.12.2 < 3.15.3"
en
Affected