CVE-2025-24361: nuxt Exposed Dangerous Method or Function
Vulnerability summary
CVE-2025-24361 is a medium (CVSS 5.3) Exposed Dangerous Method or Function vulnerability in nuxt. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 25-01-2025PublishedVulnerability first disclosed.
- 12-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
0.00 pp
From 0.34% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@nuxt2 products
- rspack-builder≥ 3.12.2, < 3.15.3
- webpack-builder≥ 3.0.0, < 3.15.3
Nuxt1 product
- nuxt≥ 3.0.0, < 3.15.3 | ≥ 3.12.2, < 3.15.3
2 vendors · 3 products
References
4 links- github.com/nuxt/nuxtPACKAGE