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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.436% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.3 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Assessment source · checked 2026-11-19T19:05:06.601Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:06.601Z | CVE Program |
| epss | verified | 2026-11-19T20:08:02.685Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:42.906Z | OSV |
| affected | verified | 2026-11-19T19:05:06.601Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:06.601Z | CVE Program |
Affected versions and configuration
nuxt nuxt; default status: unknown: < 3.12.4 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "nuxt",
"product": "nuxt",
"versions": [
{
"status": "affected",
"version": "< 3.12.4"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-34343",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-08-08T15:48:37.429729Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:nuxt:nuxt:-:*:*:*:*:*:*:*"
],
"vendor": "nuxt",
"product": "nuxt",
"versions": [
{
"status": "affected",
"version": "3.12.4"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-08-08T15:51:24.069Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vf6r-87q4-2vjf",
"aliases": [
"CVE-2024-34343"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.12.4"
}
]
}
],
"package": {
"name": "nuxt",
"purl": "pkg:npm/nuxt",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-vf6r-87q4-2vjf/GHSA-vf6r-87q4-2vjf.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/nuxt/nuxt/security/advisories/GHSA-vf6r-87q4-2vjf",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34343",
"type": "ADVISORY"
},
{
"url": "https://github.com/nuxt/nuxt",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79",
"CWE-83"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2024-08-05T21:15:38Z",
"github_reviewed_at": "2024-08-05T19:49:22Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | nuxt | Not a distribution channel | 3.12.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:06.601ZArchived source JSON
Source publication: 2024-08-05T20:35:13.258Z
Source modification: 2024-08-08T15:51:24.069ZDocument fingerprint
f1296edee537e9860ef089c856a0d70802daf6669fa4ed1964aa45dc3de8d109 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:02.685ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0d49c1070a4bb2286fbb7a87300032d81e695160ace748510bd1bf5e31c5a14e - OSVConsulted: 2026-11-19T19:03:42.906ZArchived source JSON
Source publication: 2024-08-05T19:49:22.000Z
Source modification: 2025-05-15T21:26:45.000ZDocument fingerprint
83fed10d7f176a7fd38bbb588ce8ce5bc17919b3de41862d0699078e9d7e0951
Official status history
- UNKNOWN → PUBLISHED · · evidence