# CVE-2025-54800: Hydra persistent XSS in build metrics

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2025-08-12T15:47:11.337Z
- Modified: 2026-06-17T09:40:43.663Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NixOS hydra: < dea1e168f590efb27db32dbacc82b09e15f8ae4b; before 2025-08-12

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/NixOS/hydra/security/advisories/GHSA-7qwg-q53v-vh99> (patch, vendor-advisory)
- <https://github.com/NixOS/hydra/commit/dea1e168f590efb27db32dbacc82b09e15f8ae4b> (patch)

## Sources

- CVE List: [CVE-2025-54800](https://www.cve.org/CVERecord?id=CVE-2025-54800), CVE Terms of Use, modified 2025-08-12
- NVD: [CVE-2025-54800](https://nvd.nist.gov/vuln/detail/CVE-2025-54800), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54800 · Whole record: https://cve.day/CVE-2025-54800.json · Rebuilt by cve.day 2026-11-25T22:59:02.315Z
