{"id":"CVE-2025-54800","published":"2025-08-12T15:47:11Z","modified":"2025-08-12T15:57:41Z","title":"Hydra persistent XSS in build metrics","vendor":"NixOS","product":"hydra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.13941,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/NixOS/hydra/security/advisories/GHSA-7qwg-q53v-vh99","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NixOS/hydra/commit/dea1e168f590efb27db32dbacc82b09e15f8ae4b","tags":["x_refsource_MISC"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":2.79},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"nixos","affectedVersions":[{"vendor":"NixOS","product":"hydra","versions":["< dea1e168f590efb27db32dbacc82b09e15f8ae4b"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-12T15:57:19.787030Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-24268","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nixos-hydra-cve-2024-45049","parents":[{"from":"CVE-2024-45049","to":"CVE-2025-54800","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/root/user.tt"],"commits":["https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5","https://github.com/NixOS/hydra/commit/dea1e168f590efb27db32dbacc82b09e15f8ae4b"],"basis":"rarely changed file"}]}]}}