{"answers":{"affected":"4 open source packages ship an affected version, including nuxt. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-56317 in the wild and no public exploit code.","fix":"Upgrade nuxt to a fixed version for your release line: 3.21.7 or 4.4.7.","what":"CVE-2026-56317 is a low-severity cross-site scripting vulnerability in Nuxt, published on 20 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-56317 and fix it if it is affected.\n\nWhat it is: CVE-2026-56317 is a low-severity cross-site scripting vulnerability in Nuxt, published on 20 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-56317 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nuxt (npm): affected all versions; fixed in 3.21.7\n- nuxt (npm): affected all versions; fixed in 3.21.7\n- nuxt (npm): affected from 4.0.0; fixed in 4.4.7\n- nuxt (npm): affected from 4.0.0; fixed in 4.4.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56317/ (Markdown: https://insights.sbomify.com/CVE-2026-56317/index.md)","id":"CVE-2026-56317","markdown":"https://insights.sbomify.com/CVE-2026-56317/index.md","name":"CVE-2026-56317","record":{"aliases":["CLSA-2026-1788337370","CLSA-2026-1788522007","CLSA-2026-1788960197","CLSA-2026-1792161461","CLSA-2026-1792161602","CLSA-2026-1792161824","CLSA-2026-1792161937","GHSA-m3q2-p4fw-w38m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nuxt framework","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in the victim's browser via untrusted data in Nuxt NoScript component slots.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"nuxt","vendor":"nuxt"}],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Nuxt before 4.4.7 (and the 3.x branch before 3.21.7) contains a cross-site scripting vulnerability in the NoScript component that writes slot content to innerHTML without escaping. Attackers can inject malicious scripts through untrusted data in NoScript slots, such as route.query parameters, which execute in the document context when the noscript tag is implicitly closed by script tags.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nuxt - Cross-Site Scripting via NoScript Component Slot Content","id":"CVE-2026-56317","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Capgo - Information Disclosure via /private/validate_password_compliance Endpoint","id":"CVE-2026-56318"},"packages":[{"ecosystem":"npm","fixed":["3.21.7"],"introduced":["0"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-m3q2-p4fw-w38m"},{"ecosystem":"npm","fixed":["3.21.7"],"introduced":["0"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-m3q2-p4fw-w38m"},{"ecosystem":"npm","fixed":["4.4.7"],"introduced":["4.0.0"],"last_affected":[],"package":"nuxt","purl":null,"source":"GHSA-m3q2-p4fw-w38m"},{"ecosystem":"npm","fixed":["4.4.7"],"introduced":["4.0.0"],"last_affected":[],"package":"nuxt","purl":"pkg:npm/nuxt","source":"GHSA-m3q2-p4fw-w38m"}],"prev":{"headline":"Cap-go - Job Existence Oracle via Unauthenticated OPTIONS /build/upload/:jobId/*","id":"CVE-2026-56316"},"products":["Nuxt"],"published":"2026-06-20","related":[{"cvss_score":8.8,"headline":"Nuxt: Route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher","id":"CVE-2026-53721","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.8,"headline":"Path Traversal: '../filedir' in Nuxt Devtools","id":"CVE-2024-23657","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.8,"headline":"Remote code execution via the browser when running the test locally in nuxt","id":"CVE-2024-34344","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.6,"headline":"Server-Side Request Forgery (SSRF) in nuxt-icon","id":"CVE-2024-42352","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.1,"headline":"Code Injection in nuxt/nuxt","id":"CVE-2023-3224","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":7.5,"headline":"Nuxt allows DOS via cache poisoning with payload rendering response","id":"CVE-2025-27415","kev_date_added":null,"published":"2025-03-19"},{"cvss_score":6.8,"headline":"Nuxt - Arbitrary File Read via World-Connectable vite-node IPC Socket on Linux","id":"CVE-2026-56301","kev_date_added":null,"published":"2026-06-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-24","vendors":["Nuxt"]},"summary":"Attackers can execute arbitrary scripts in the victim's browser via untrusted data in Nuxt NoScript component slots.","url":"https://insights.sbomify.com/CVE-2026-56317/"}