{"answers":{"affected":"2 open source packages ship an affected version, including astro.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73422 exists.","fix":"Upgrade astro to 7.1.0 or later.","what":"CVE-2026-73422 is a medium-severity cross-site scripting vulnerability in withastro astro, published on 12 Aug 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-73422 and fix it if it is affected.\n\nWhat it is: CVE-2026-73422 is a medium-severity cross-site scripting vulnerability in withastro astro, published on 12 Aug 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73422 exists.\n\nAffected packages and fixed versions:\n- astro (npm): affected from 2.9.0; fixed in 7.1.0\n- astro (npm): affected from 2.9.0; fixed in 7.1.0\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-73422/ (Markdown: https://insights.sbomify.com/CVE-2026-73422/index.md)","id":"CVE-2026-73422","markdown":"https://insights.sbomify.com/CVE-2026-73422/index.md","name":"CVE-2026-73422","record":{"aliases":["CLSA-2026-1790089254","CLSA-2026-1790089283","CLSA-2026-1790105671","CLSA-2026-1792161565","CLSA-2026-1792161566","CLSA-2026-1792161567","CLSA-2026-1792161708","CLSA-2026-1792161710","CLSA-2026-1792161711","CLSA-2026-1792161762","CLSA-2026-1792161796","CLSA-2026-1792161797","CLSA-2026-1792161798","CLSA-2026-1792161861","CLSA-2026-1792161862","CLSA-2026-1792161864","GHSA-4g3v-8h47-v7g6"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Astro web framework","requires_auth":"none","summary":"Attackers can inject arbitrary JavaScript via unescaped View Transition animation properties in Astro, leading to code execution and data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Astro is a web framework for content-driven websites. From 2.9.0 until 7.1.0, Astro's server-side View Transition CSS generator interpolates animation properties into an inline style element without escaping them for CSS and HTML contexts. An attacker-controlled View Transition animation value such as duration can terminate the generated style element and inject arbitrary HTML or JavaScript. The affected code is packages/astro/src/runtime/server/transition.ts; renderTransition passes sheet.toString() into markHTMLString(), while addAnimationProperty serializes duration through toTimeValue() and also handles easing, direction, delay, fillMode, and name. Exploitation requires an on-demand or server-rendered route to pass attacker-controlled data into a View Transition animation definition and can execute arbitrary JavaScript in the affected application's origin, allowing access to sensitive page data and authenticated actions available to the victim. This issue is fixed in version 7.1.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Astro: Reflected XSS via unescaped View Transition animation properties","id":"CVE-2026-73422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered","id":"CVE-2026-73423"},"packages":[{"ecosystem":"npm","fixed":["7.1.0"],"introduced":["2.9.0"],"last_affected":[],"package":"astro","purl":null,"source":"GHSA-4g3v-8h47-v7g6"},{"ecosystem":"npm","fixed":["7.1.0"],"introduced":["2.9.0"],"last_affected":[],"package":"astro","purl":"pkg:npm/astro","source":"GHSA-4g3v-8h47-v7g6"}],"prev":{"headline":"Auth.js: Configuration errors can cause existence-based auth checks to fail open (auth object populated with an error)","id":"CVE-2026-73421"},"products":["astro"],"published":"2026-08-12","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["withastro"]},"summary":"Attackers can inject arbitrary JavaScript via unescaped View Transition animation properties in Astro, leading to code execution and data theft.","url":"https://insights.sbomify.com/CVE-2026-73422/"}