{
  "id": "CVE-2025-54800",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-54800",
  "published_at": "2025-08-12T15:47:11.337Z",
  "title": "Hydra persistent XSS in build metrics",
  "vendor": "NixOS",
  "product": "hydra",
  "cvss": {
    "score": 7.1,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:nixos:hydra:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "NixOS",
        "product": "hydra",
        "ranges": [
          "\u003c dea1e168f590efb27db32dbacc82b09e15f8ae4b"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/NixOS/hydra/security/advisories/GHSA-7qwg-q53v-vh99"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/NixOS/hydra/commit/dea1e168f590efb27db32dbacc82b09e15f8ae4b"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
