CVE-2025-24361
published medium CVSS 3.1 · 5.3Opening a malicious website while running a Nuxt dev server could allow read-only access to code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nuxt | — | nuxt>= 3.0.0, < 3.15.3 · >= 3.12.2, < 3.15.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nuxt | nuxt | >= 3.0.0, < 3.15.3 (affected)>= 3.12.2, < 3.15.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-749 CWE-749: Exposed Dangerous Method or Function
References
2Provider assertions
2GitHub_M · cna
Opening a malicious website while running a Nuxt dev server could allow read-only access to code
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0782c6b12937b29dee65001ee72e4164be61abf5a761598d6a1d3e5a6217d685
- Ingested
- 23 Sep 2026, 08:41:20 UTC
- Source record
- Official CVE record