{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-54800 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-54800 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-54800 is a high-severity cross-site scripting vulnerability in NixOS hydra, published on 12 Aug 2025. 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-2025-54800 and fix it if it is affected.\n\nWhat it is: CVE-2025-54800 is a high-severity cross-site scripting vulnerability in NixOS hydra, published on 12 Aug 2025. 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-2025-54800 in the wild and no public exploit code.\n\nAffected product: NixOS hydra. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-54800/ (Markdown: https://insights.sbomify.com/CVE-2025-54800/index.md)","id":"CVE-2025-54800","markdown":"https://insights.sbomify.com/CVE-2025-54800/index.md","name":"CVE-2025-54800","record":{"aliases":["GHSA-7qwg-q53v-vh99"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Hydra CI service","requires_auth":"none","summary":"A malicious package can inject JavaScript into Hydra build pages, allowing attackers to execute code in visitors' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hydra","vendor":"nixos"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/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":"Hydra is a continuous integration service for Nix based projects. Prior to commit dea1e16, a malicious package can introduce arbitrary JavaScript code into the Hydra database that is automatically evaluated in a client's browser when anyone visits the build page. This could be done by a third-party project as part of its build process. This also happens in other places like with hydra-release-name. This issue has been patched by commit dea1e16. A workaround involves either not building untrusted packages or not visiting the builds page.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Hydra persistent XSS in build metrics","id":"CVE-2025-54800","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder","id":"CVE-2025-54801"},"packages":[],"prev":{"headline":"Lego does not enforce HTTPS","id":"CVE-2025-54799"},"products":["hydra"],"published":"2025-08-12","related":[{"cvss_score":7.5,"headline":"Nix Hydra Missing authentication when triggering evaluations","id":"CVE-2024-45049","kev_date_added":null,"published":"2024-08-27"},{"cvss_score":6.9,"headline":"Hydra missing authentication when triggering evaluations through GitHub and Gitea plugins","id":"CVE-2025-54864","kev_date_added":null,"published":"2025-08-12"},{"cvss_score":4.6,"headline":"Hydra has persistent XSS vulnerability serving HTML build outputs","id":"CVE-2024-32657","kev_date_added":null,"published":"2024-04-22"},{"cvss_score":2.6,"headline":"Hydra no restricted eval after nix-eval-jobs migration","id":"CVE-2025-32435","kev_date_added":null,"published":"2025-04-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2025-08-12","vendors":["NixOS"]},"summary":"A malicious package can inject JavaScript into Hydra build pages, allowing attackers to execute code in visitors' browsers.","url":"https://insights.sbomify.com/CVE-2025-54800/"}