Medium severity · published Aug 12, 2025
CVE-2025-54800
Hydra persistent XSS in build metrics
6.1
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HY
hydra · NixOS
< dea1e168f590efb27db32dbacc82b09e15f8ae4b · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54800
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54800
Patch
https://github.com/NixOS/hydra/commit/dea1e168f590efb27db32dbacc82b09e15f8ae4b
Patch
https://github.com/NixOS/hydra/security/advisories/GHSA-7qwg-q53v-vh99
More from hydra
7.5
CVE-2025-54864
Hydra missing authentication when triggering evaluations through GitHub and Gitea plugins
7.5
CVE-2024-45049
Hydra is a Continuous Integration service for Nix based projects
5.4
CVE-2024-32657
Hydra is a Continuous Integration service for Nix based projects
2.6
CVE-2025-32435
Hydra no restricted eval after nix-eval-jobs migration
