Web Application Framework Vulnerability in Nuxt by Nuxt.js
CVE-2025-24361

5.3MEDIUM

Key Information:

Vendor

Nuxt

Status
Vendor
CVE Published:
25 January 2025

What is CVE-2025-24361?

A vulnerability in Nuxt, an open-source web development framework for Vue.js, allows attackers to steal source code when a victim interacts with a malicious website. Specifically, the issue arises when using versions 3.0.0 through 3.15.12 of the webpack builder or versions 3.12.2 through 3.152 of the rspack builder. The vulnerability occurs because requests for classic scripts via a script tag are not subject to the same origin policy. This enables an attacker to inject a malicious script, which can retrieve source code through the use of Function::toString on values in window.webpackChunknuxt_app. This security flaw has been addressed in Nuxt version 3.15.13.

Affected Version(s)

nuxt >= 3.0.0, < 3.15.3 < 3.0.0, 3.15.3

nuxt >= 3.12.2, < 3.15.3 < 3.12.2, 3.15.3

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

.
CVE-2025-24361 : Web Application Framework Vulnerability in Nuxt by Nuxt.js