Home / nuxt / nuxt / CVE-2025-24361
CVE-2025-24361: is it exploited, and which versions of nuxt are affected and fixed?
CVE-2025-24361 is an exposed Dangerous Method or Function vulnerability in nuxt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: @nuxt/webpack-builder from 3.0.0 before 3.15.3 and @nuxt/rspack-builder from 3.12.2 before 3.15.3 (GitHub advisory GHSA-4gf7-ff8x-hq99). Fixed in 3.15.3 (GitHub advisory GHSA-4gf7-ff8x-hq99). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-24361?
Opening a malicious website while running a Nuxt dev server could allow read-only access to code
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.
From the CVE record by GitHub_M, last updated February 12, 2025, 20:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nuxt | nuxt | >= 3.0.0, < 3.15.3 >= 3.12.2, < 3.15.3 |
As the CVE record by GitHub_M states it, last updated February 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @nuxt/webpack-builder | >= 3.0.0, < 3.15.3 | 3.15.3 | GHSA-4gf7-ff8x-hq99 |
| npm | @nuxt/rspack-builder | >= 3.12.2, < 3.15.3 | 3.15.3 | GHSA-4gf7-ff8x-hq99 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 30, 2025. Summary: Opening a malicious website while running a Nuxt dev server could allow read-only access to code.
How severe is CVE-2025-24361?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-24361 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, January 27, 2025)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-749 Exposed Dangerous Method or Function
Where are the vendor advisories and references?
- https://github.com/nuxt/nuxt/security/advisories/GHSA-4gf7-ff8x-hq99 x_refsource_CONFIRM
- https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88f x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 20, 2025
- Published
- January 25, 2025, 00:53 UTC
- CVE record updated
- February 12, 2025, 20:41 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:58 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nuxt?
- Nov 18, 2026CVE-2023-54417 nuxt: path traversal (reading or writing files outside the intended folder)
- Nov 18, 2026CVE-2023-54418 nuxt: files or folders accessible to outside parties
- Nov 13, 2026CVE-2026-128077 nuxt: interpretation Conflict
- Nov 13, 2026CVE-2026-128076 nuxt: improper output encoding
- Nov 13, 2026CVE-2026-128075 nuxt: information disclosure in error messages
- Nov 13, 2026CVE-2026-128074 nuxt: regular expression denial of service (ReDoS)
- Nov 13, 2026CVE-2026-128072 nuxt: origin not validated
- Nov 13, 2026CVE-2026-128071 nuxt: interpretation Conflict
Questions about CVE-2025-24361
Is CVE-2025-24361 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nuxt are affected by CVE-2025-24361?
@nuxt/webpack-builder from 3.0.0 before 3.15.3 and @nuxt/rspack-builder from 3.12.2 before 3.15.3, per the GitHub advisory GHSA-4gf7-ff8x-hq99. The tables above give every range the sources list.
Which version fixes CVE-2025-24361?
3.15.3, per the GitHub advisory GHSA-4gf7-ff8x-hq99. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-24361?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-24361?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.