Source-code disclosure via cross-origin dev-server scripts
Published Jan 25, 2025 · Updated Feb 12, 2025
Source-code disclosure in Nuxt 3.0.0 through 3.15.2 allows remote attackers to read compiled application code via malicious sites. The webpack and rspack dev middleware serves cross-origin classic-script requests, exposing module functions through window.webpackChunknuxt_app. Exploitation requires a developer to run an affected builder and visit an attacker-controlled site; the result is read-only disclosure of compiled source and embedded source-map content.
Summary
What happened
Source-code disclosure in Nuxt 3.0.0 through 3.15.2 allows remote attackers to read compiled application code via malicious sites. The webpack and rspack dev middleware serves cross-origin classic-script requests, exposing module functions through window.webpackChunknuxt_app. Exploitation requires a developer to run an affected builder and visit an attacker-controlled site; the result is read-only disclosure of compiled source and embedded source-map content.
The record
- CVE
- CVE-2025-24361
- Published
- Jan 25, 2025
- Updated
- Feb 12, 2025
- Vendor
- Nuxt
- Product
- Nuxt
- Classifications
- CWE-749, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 25, 2025CVE publishedPublication date reported by the CVE source.
- Feb 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.0.0, < 3.15.3
- Affected versionversion=>= 3.12.2, < 3.15.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Nuxt cross-origin development-bundle proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo