Home / nuxt / nuxt / CVE-2024-34343
CVE-2024-34343: is it exploited, and which versions of nuxt are affected and fixed?
CVE-2024-34343 is a cross-site scripting (XSS) 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, 16:09 UTC). Affected: nuxt before 3.12.4 (GitHub advisory GHSA-vf6r-87q4-2vjf). Fixed in 3.12.4 (GitHub advisory GHSA-vf6r-87q4-2vjf). Severity: Medium (6.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-34343?
Cross-site Scripting (XSS) in navigateTo if used after SSR in nuxt
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. The `navigateTo` function attempts to blockthe `javascript:` protocol, but does not correctly use API's provided by `unjs/ufo`. This library also contains parsing discrepancies. The function first tests to see if the specified URL has a protocol. This uses the unjs/ufo package for URL parsing. This function works effectively, and returns true for a javascript: protocol. After this, the URL is parsed using the parseURL function. This function will refuse to parse poorly formatted URLs. Parsing javascript:alert(1) returns null/"" for all values. Next, the protocol of the URL is then checked using the isScriptProtocol function. This function simply checks the input against a list of protocols, and does not perform any parsing. The combination of refusing to parse poorly formatted URLs, and not performing additional parsing means that script checks fail as no protocol can be found. Even if a protocol was identified, whitespace is not stripped in the parseURL implementation, bypassing the isScriptProtocol checks. Certain special protocols are identified at the top of parseURL. Inserting a newline or tab into this sequence will block the special protocol check, and bypass the latter checks. This ONLY has impact after SSR has occured, the `javascript:` protocol within a location header does not trigger XSS. This issue has been addressed in release version 3.12.4 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record by GitHub_M, last updated August 8, 2024, 15:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nuxt | nuxt | < 3.12.4 |
As the CVE record by GitHub_M states it, last updated August 8, 2024. 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 | < 3.12.4 | 3.12.4 | GHSA-vf6r-87q4-2vjf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 15, 2025. Summary: nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSR.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nuxt | nuxt | before 3.12.4 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:33 UTC.
How severe is CVE-2024-34343?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
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-2024-34343 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 8, 2024)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 39.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-83 Improper Neutralization of Script in Attributes in a Web Page
Where are the vendor advisories and references?
- https://github.com/nuxt/nuxt/security/advisories/GHSA-vf6r-87q4-2vjf x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 2, 2024
- Published
- August 5, 2024, 20:35 UTC
- CVE record updated
- August 8, 2024, 15:51 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:33 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 16:09 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-2024-34343
Is CVE-2024-34343 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nuxt are affected by CVE-2024-34343?
nuxt before 3.12.4, per the GitHub advisory GHSA-vf6r-87q4-2vjf. The tables above give every range the sources list.
Which version fixes CVE-2024-34343?
3.12.4, per the GitHub advisory GHSA-vf6r-87q4-2vjf. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-34343?
Medium (6.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-34343?
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.