{"id":"EUVD-2026-36421","revision":null,"records":[{"revision":"0ff26bf815994015b2ddf6c1b02d3839","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49993","aliases":[],"title":"@nuxt/webpack-builder and @nuxt/rspack-builder dev server same-origin check bypassed when Sec-Fetch-Site, Origin, and Referer are all absent (incomplete fix for GHSA-6m52-m754-pw2g)","description":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code may still be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. nuxt dev --host) and the developer opens a malicious site on the same network. This issue has been patched in versions 3.21.7 and 4.4.7.","state":0,"publishedAt":"2026-06-12T12:57:43.232+00:00","modifiedAt":"2026-06-12T13:42:21.829+00:00","affected":[{"ecosystem":"Vendor product","name":"nuxt","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"nuxt\",\n                    \"product\": \"nuxt\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 3.15.4, < 3.21.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 4.0.0, < 4.4.7\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5","https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g","https://github.com/nuxt/nuxt/pull/35200","https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05","https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49993","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49993","identifiers":["CVE-2026-49993"]},"retained":false,"historicalAffected":[]},{"revision":"1ed3064a2a6645a7870ba271fb5277a4","observedAt":"2026-11-15T14:45:58.757+00:00","statement":{"source":"euvd","id":"EUVD-2026-36421","aliases":["CVE-2026-49993","GHSA-x6qj-4h56-5rj5"],"title":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code …","description":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code may still be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. nuxt dev --host) and the developer opens a malicious site on the same network. This issue has been patched in versions 3.21.7 and 4.4.7.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.9,"severity":null}],"references":["https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5","https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g","https://github.com/nuxt/nuxt/pull/35200","https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05","https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36421","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 12, 2026, 12:57:43 PM","dateUpdated":"Jun 12, 2026, 1:42:21 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-36421","identifiers":["EUVD-2026-36421","CVE-2026-49993","GHSA-x6qj-4h56-5rj5"]},"retained":false,"historicalAffected":[]},{"revision":"dfa9c56ae9cf4ddba0f3c05601a8904f","observedAt":"2026-10-25T12:17:38.331+00:00","statement":{"source":"nvd","id":"CVE-2026-49993","aliases":[],"title":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code …","description":"Nuxt is an open-source web development framework for Vue.js. In @nuxt/rspack-builder and @nuxt/webpack-builder from versions 3.15.4 to before 3.21.7 and 4.0.0 to before 4.4.7, there is an incomplete fix for GHSA-6m52-m754-pw2g. Source code may still be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. nuxt dev --host) and the developer opens a malicious site on the same network. This issue has been patched in versions 3.21.7 and 4.4.7.","state":0,"publishedAt":"2026-06-12T14:16:32.65+00:00","modifiedAt":"2026-06-17T10:55:49.903+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":5.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.7,"severity":"MEDIUM"}],"references":["https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05","https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3","https://github.com/nuxt/nuxt/pull/35200","https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g","https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49993","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-749"],"productCriteria":["cpe:2.3:a:nuxt:nuxt\\/rspack-builder:*:*:*:*:*:node.js:*:*","cpe:2.3:a:nuxt:nuxt\\/webpack-builder:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-06-12T14:16:32.650","lastModified":"2026-06-17T10:55:49.903"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-49993","identifiers":["CVE-2026-49993"]},"retained":false,"historicalAffected":[]},{"revision":"731f7c7da5a04b4ca1fb06825a1a44ff","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x6qj-4h56-5rj5","aliases":["CVE-2026-49993"],"title":"@nuxt/webpack-builder and @nuxt/rspack-builder dev server same-origin check bypassed when Sec-Fetch-Site, Origin, and Referer are all absent (incomplete fix for GHSA-6m52-m754-pw2g)","description":"### Summary\nThis is an incomplete fix for [GHSA-6m52-m754-pw2g](https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g). Source code may still be stolen during dev when using the webpack / rspack builder if the dev server is bound to a non-loopback address (e.g. `nuxt dev --host`) and the developer opens a malicious site on the same network.\n\n### Details\nThe fix for [GHSA-6m52-m754-pw2g](https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g) added an `Origin` / `Referer` fallback to the dev-middleware same-origin check, with a `return true` branch when neither header is present so that non-browser clients (curl, the HMR client, address-bar navigation) keep working.\n\nThat fallback is bypassed when a cross-origin attacker request reaches the dev server with all three signal headers absent:\n\n- `Sec-Fetch-Site` is [not sent by browsers to non-potentially-trustworthy destinations](https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header) (HTTP on a non-loopback address).\n- `Origin` is not sent on non-CORS subresource fetches (a bare `<script>` with no `crossorigin`).\n- `Referer` can be suppressed by the attacker page with `<meta name=\"referrer\" content=\"no-referrer\">` or `referrerpolicy=\"no-referrer\"` on the `<script>` element.\n\nA classic `<script src=\"http://VICTIM_LAN_IP:3000/_nuxt/app.js\" referrerpolicy=\"no-referrer\">` from a non-trustworthy attacker origin produces exactly that header set, the request is allowed, and the attacker page can read the built source out of `window.webpackChunk*` via `Function.prototype.toString()`.\n\nSince the attack requires the dev server to be reachable via a non-potentially-trustworthy origin, only apps using `--host` (or `--host 0.0.0.0`) are affected. Chrome 142+ users are also protected by [Local Network Access restrictions](https://developer.chrome.com/release-notes/142#local_network_access_restrictions).\n\n### PoC\n1. Create a Nuxt project with the webpack / rspack builder.\n1. Run `npm run dev -- --host 0.0.0.0`.\n1. Open `http://localhost:3000` on the developer machine.\n1. From a different LAN host, serve the page below and open it in the same browser.\n1. The compiled module source is exfiltrable from `window.webpackChunknuxt_<projectname>`.\n\n```html\n<!doctype html>\n<meta name=\"referrer\" content=\"no-referrer\">\n<script>\n  ['/_nuxt/runtime.js', '/_nuxt/app.js'].forEach(p => {\n    const s = document.createElement('script')\n    s.src = 'http://VICTIM_LAN_IP:3000' + p\n    s.referrerPolicy = 'no-referrer'\n    document.head.appendChild(s)\n  })\n  setTimeout(() => {\n    const key = Object.keys(window).find(k => k.startsWith('webpackChunk'))\n    for (const [, mods] of window[key]) {\n      for (const id in mods) {\n        console.log(id, mods[id].toString())\n      }\n    }\n  }, 1500)\n</script>\n```\n\n### Impact\nUsers using the webpack / rspack builder with `nuxt dev --host` may get the built source code read by malicious websites on the same network, including module identifiers, the developer's local filesystem path, and any developer-controlled strings inlined into the bundle.\n\nThis vulnerability does not affect Chrome 142+ (and other Chromium-based browsers) users due to [Local Network Access restrictions](https://developer.chrome.com/release-notes/142#local_network_access_restrictions).\n\nThe default Vite builder is not affected.\n\n### Patches\nFixed in `@nuxt/webpack-builder@4.4.7` / `@nuxt/rspack-builder@4.4.7` and backported to `@nuxt/webpack-builder@3.21.7` / `@nuxt/rspack-builder@3.21.7` by [#35200](https://github.com/nuxt/nuxt/pull/35200) (4.x: commit [`e351de94`](https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3); 3.x: commit [`77187ee4`](https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05)). The dev-middleware same-origin check now treats a request with no `Sec-Fetch-Site`, no `Origin`, and no `Referer` as same-origin only when the dev server is loopback-bound, closing the header-suppression bypass.\n\nThe fix only ships for the `@nuxt/webpack-builder` and `@nuxt/rspack-builder` packages. The default Vite builder was not affected.\n\n### Workarounds\nIf you cannot upgrade immediately:\n\n- Don't use `nuxt dev --host`. Bind the dev server to `localhost` (the default) and tunnel from other devices via SSH or a reverse proxy that enforces same-origin checks.\n- Use Chrome 142+ or another Chromium-based browser that enforces [Local Network Access restrictions](https://developer.chrome.com/release-notes/142#local_network_access_restrictions).\n- Switch to the Vite builder for development.\n\n### Credit\nReported by Berkan SAL ([@Uhudsavasindankacanokcu2](https://github.com/Uhudsavasindankacanokcu2)) via the Vercel Open Source HackerOne program.\n\nIndependently reported by [@DavidCarliez](https://github.com/DavidCarliez) via GitHub's coordinated disclosure flow (`GHSA-xw96-2f5x-v9pv`), closed as a duplicate of this advisory.","state":0,"publishedAt":"2026-06-16T23:39:16+00:00","modifiedAt":"2026-09-10T03:50:12.300274+00:00","affected":[{"ecosystem":"npm","name":"@nuxt/webpack-builder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.4.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@nuxt/webpack-builder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.15.4"},{"kind":"fixed","version":"3.21.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@nuxt/rspack-builder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.4.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@nuxt/rspack-builder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.15.4"},{"kind":"fixed","version":"3.21.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nuxt/nuxt/security/advisories/GHSA-6m52-m754-pw2g","https://github.com/nuxt/nuxt/security/advisories/GHSA-x6qj-4h56-5rj5","https://nvd.nist.gov/vuln/detail/CVE-2026-49993","https://github.com/nuxt/nuxt/pull/35200","https://github.com/nuxt/nuxt/commit/77187ee4015e9267fb464951542a3e09e8b5fa05","https://github.com/nuxt/nuxt/commit/e351de943e82db16970618b60dc7fdbaa58630f3","https://github.com/nuxt/nuxt"],"sourceUrl":"https://github.com/advisories/GHSA-x6qj-4h56-5rj5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x6qj-4h56-5rj5","identifiers":["GHSA-x6qj-4h56-5rj5","CVE-2026-49993"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0716622+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.071663+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-7b226a5dbb956f6efa40aa530e16b552d2766bd2cfeae2c8f66152d783ec78d1","complete":true,"records":426117,"lastAttemptAt":"2026-11-16T18:44:56.949882+00:00","lastSuccessAt":"2026-11-16T18:44:56.8623544+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:56.949882+00:00","snapshotPublishedAt":"2026-11-16T18:30:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ffcf524d3cbf41d2a3a6fa937f216dd0","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T18:47:40.7926227+00:00","lastSuccessAt":"2026-11-16T18:47:40.774+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:40.774+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0725273+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.0725276+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-85ccba0af8894ad495cf1ce959f9030f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T18:47:38.4901027+00:00","lastSuccessAt":"2026-11-16T18:47:38.474+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T18:47:38.474+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T18:47:10.7901587+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.7901587+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T18:44:57.0142322+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:57.0142322+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T18:47:10.8068878+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.8068878+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a545a204cb7e029142fca3977ea456f4a00759bf811f31b6042225ef52bf5867","complete":true,"records":232531,"lastAttemptAt":"2026-11-16T18:47:10.4632154+00:00","lastSuccessAt":"2026-11-16T18:47:09.141739+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.4632154+00:00","snapshotPublishedAt":"2026-11-16T18:33:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}