{"answers":{"affected":"2 open source packages ship an affected version, including rustfs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-27822 in the wild and no public exploit code.","fix":"Upgrade rustfs to 1.0.0-alpha.83 or later.","what":"CVE-2026-27822 is a critical cross-site scripting vulnerability in rustfs, published on 25 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27822 and fix it if it is affected.\n\nWhat it is: CVE-2026-27822 is a critical cross-site scripting vulnerability in rustfs, published on 25 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-27822 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rustfs (crates.io): affected all versions; fixed in 1.0.0-alpha.83\n- rustfs (crates.io): affected all versions; fixed in 1.0.0-alpha.83\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-27822/ (Markdown: https://insights.sbomify.com/CVE-2026-27822/index.md)","id":"CVE-2026-27822","markdown":"https://insights.sbomify.com/CVE-2026-27822/index.md","name":"CVE-2026-27822","record":{"aliases":["GHSA-v9fg-3cr2-277j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"RustFS object storage","requires_auth":"low_privilege","summary":"Stored XSS in RustFS Console allows attackers to steal admin credentials and take over accounts via malicious PDF previews.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rustfs","vendor":"rustfs"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"RustFS is a distributed object storage system built in Rust. Prior to version 1.0.0-alpha.83, a Stored Cross-Site Scripting (XSS) vulnerability in the RustFS Console allows an attacker to execute arbitrary JavaScript in the context of the management console. By bypassing the PDF preview logic, an attacker can steal administrator credentials from `localStorage`, leading to full account takeover and system compromise. Version 1.0.0-alpha.83 fixes the issue.","ecosystems":["crates.io"],"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":"Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover","id":"CVE-2026-27822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Remote Code Execution Vulnerability in EGroupware","id":"CVE-2026-27823"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.0-alpha.83"],"introduced":["0"],"last_affected":[],"package":"rustfs","purl":null,"source":"GHSA-v9fg-3cr2-277j"},{"ecosystem":"crates.io","fixed":["1.0.0-alpha.83"],"introduced":["0"],"last_affected":[],"package":"rustfs","purl":"pkg:cargo/rustfs","source":"GHSA-v9fg-3cr2-277j"}],"prev":{"headline":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","id":"CVE-2026-27821"},"products":["rustfs"],"published":"2026-02-25","related":[{"cvss_score":9.8,"headline":"RustFS has a gRPC Hardcoded Token Authentication Bypass","id":"CVE-2025-68926","kev_date_added":null,"published":"2025-12-30"},{"cvss_score":8.8,"headline":"RustFS Path Traversal Vulnerability","id":"CVE-2025-68705","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":8.3,"headline":"RustFS: Missing admin authorization on notification target endpoints allows unauthenticated configuration of event webhooks","id":"CVE-2026-40937","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":8.1,"headline":"RustFS's Missing Post Policy Validation leads to Arbitrary Object Write","id":"CVE-2026-27607","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":7.7,"headline":"RustFS sourceIp bypass via spoofed X-Forwarded-For/Real-IP headers","id":"CVE-2026-21862","kev_date_added":null,"published":"2026-02-03"},{"cvss_score":6.9,"headline":"RustFS Logs Sensitive Credentials in Plaintext","id":"CVE-2026-24762","kev_date_added":null,"published":"2026-02-03"}],"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":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["rustfs"]},"summary":"Stored XSS in RustFS Console allows attackers to steal admin credentials and take over accounts via malicious PDF previews.","url":"https://insights.sbomify.com/CVE-2026-27822/"}