SecurityContext

CVE-2025-24361: Nuxt - Stored XSS

  • Cve: CVE-2025-24361
  • Name: Nuxt - Stored XSS
  • 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.
  • Impact: Attackers can steal source code by executing injected scripts, potentially leading to intellectual property theft or further attacks.
  • Remediation: Update to Nuxt version 3.15.13 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Victim must visit a malicious website
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Epss score: 0.00342
  • Epss percentile: 0.28001
  • Assignee: [email protected]
  • Published at: 2025-01-25T01:15:24Z
  • Age in days: 668
  • Modified at: 2026-06-17T08:58:53Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24361
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-749Exposed Dangerous Method or Function

References

UrlSourceTags
https://github.com/nuxt/nuxt/commit/7eeb910bf4accb1e0193b9178c746f06ad3dd88fnvd
https://github.com/nuxt/nuxt/security/advisories/GHSA-4gf7-ff8x-hq99nvd

Products

ProductAffectedPlatform boundSourcesUrl
nuxt:nuxt>= 3.0.0, < 3.15.3; >= 3.12.2, < 3.15.3nocna_alias_text/v1/products/nuxt/nuxt

Projects

RepositoryLink kindsIndexedUrl
nuxt/nuxtcommit, fix, package, security_advisoryyes/v1/repositories/nuxt/nuxt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 84061
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports