# CVE-2025-24361: Opening a malicious website while running a Nuxt dev server could allow read-only access to code

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2025-01-25T00:53:23.400Z
- Modified: 2026-07-08T08:14:39.936Z
- Also known as: GHSA-4gf7-ff8x-hq99
- Related: CVE-2026-45670
- Weaknesses: CWE-749
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- nuxt nuxt: >= 3.0.0, < 3.15.3; >= 3.12.2, < 3.15.3
- @nuxt/webpack-builder (npm): from 3.0.0 before 3.15.3
- @nuxt/rspack-builder (npm): from 3.12.2 before 3.15.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nuxt/nuxt/security/advisories/GHSA-4gf7-ff8x-hq99> (web)
- <https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24361> (advisory)
- <https://github.com/nuxt/nuxt> (package)

## Sources

- CVE List: [CVE-2025-24361](https://www.cve.org/CVERecord?id=CVE-2025-24361), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-4gf7-ff8x-hq99](https://github.com/advisories/GHSA-4gf7-ff8x-hq99), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-24361](https://nvd.nist.gov/vuln/detail/CVE-2025-24361), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24361 · Whole record: https://cve.day/CVE-2025-24361.json · Rebuilt by cve.day 2026-11-25T22:58:53.599Z
