{"answers":{"affected":"2 open source packages ship an affected version, including astro. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45028 in the wild and no public exploit code.","fix":"Upgrade astro to 6.1.10 or later.","what":"CVE-2026-45028 is a low-severity cross-site scripting vulnerability in withastro astro, published on 13 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45028 and fix it if it is affected.\n\nWhat it is: CVE-2026-45028 is a low-severity cross-site scripting vulnerability in withastro astro, published on 13 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45028 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- astro (npm): affected all versions; fixed in 6.1.10\n- astro (npm): affected all versions; fixed in 6.1.10\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-45028/ (Markdown: https://insights.sbomify.com/CVE-2026-45028/index.md)","id":"CVE-2026-45028","markdown":"https://insights.sbomify.com/CVE-2026-45028/index.md","name":"CVE-2026-45028","record":{"aliases":["CLSA-2026-1789031241","CLSA-2026-1792161562","CLSA-2026-1792161707","CLSA-2026-1792161794","CLSA-2026-1792161859","GHSA-xr5h-phrj-8vxv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Astro web framework","requires_auth":"none","summary":"Attackers can replay encrypted parameters to inject malicious HTML, leading to XSS in Astro applications using server islands.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"astro","vendor":"astro"}],"cvss":{"score":2.9,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-323","name":"Reusing a Nonce, Key Pair in Encryption"}],"description":"Astro is a web framework. Astro versions prior to 6.1.10 used AES-GCM encryption to protect the confidentiality and integrity of server island props and slots parameters, but did not bind the ciphertext to its intended component or parameter type. An attacker could replay one component's encrypted props (p) value as another component's slots (s) value, or vice versa. Since slots contain raw unescaped HTML while props may contain user-controlled values, this could lead to XSS in applications. This occurs when the application uses server islands, two different server island components share the same key name for a prop and a slot, and an attacker has full control over the value of the overlapping prop (requires a dynamically rendered page). This vulnerability is fixed in 6.1.10.","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":"Astro: Server island encrypted parameters vulnerable to cross-component replay","id":"CVE-2026-45028","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"ImageMagick: Policy Bypass in PSD decoder","id":"CVE-2026-45031"},"packages":[{"ecosystem":"npm","fixed":["6.1.10"],"introduced":["0"],"last_affected":[],"package":"astro","purl":null,"source":"GHSA-xr5h-phrj-8vxv"},{"ecosystem":"npm","fixed":["6.1.10"],"introduced":["0"],"last_affected":[],"package":"astro","purl":"pkg:npm/astro","source":"GHSA-xr5h-phrj-8vxv"}],"prev":{"headline":"WeGIA: Use of Weak Password Hashing Algorithm (SHA-256, no salt) in html/login.php","id":"CVE-2026-45027"},"products":["astro"],"published":"2026-05-13","related":[{"cvss_score":7.8,"headline":"Server source code is exposed to the public if sourcemaps are enabled","id":"CVE-2024-56159","kev_date_added":null,"published":"2024-12-19"},{"cvss_score":7.5,"headline":"Astro: Host header SSRF in prerendered error page fetch","id":"CVE-2026-54299","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.2,"headline":"astro allows bypass of image proxy domain validation leading to SSRF and potential XSS","id":"CVE-2025-59837","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":7.1,"headline":"Astro: Reflected XSS via unescaped slot name","id":"CVE-2026-50146","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.1,"headline":"Astro is vulnerable to Reflected XSS via the server islands feature","id":"CVE-2025-64764","kev_date_added":null,"published":"2025-11-19"},{"cvss_score":6.9,"headline":"Astro middleware authentication checks based on url.pathname can be bypassed via url encoded values","id":"CVE-2025-64765","kev_date_added":null,"published":"2025-11-19"},{"cvss_score":6.9,"headline":"Unauthorized third-party images in Astro’s _image endpoint","id":"CVE-2025-55303","kev_date_added":null,"published":"2025-08-19"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-14","vendors":["withastro"]},"summary":"Attackers can replay encrypted parameters to inject malicious HTML, leading to XSS in Astro applications using server islands.","url":"https://insights.sbomify.com/CVE-2026-45028/"}