{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "19.6.0"
              },
              {
                "fixed": "21.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "4b674c10941b6c27d7ec2a28dd946518d9211b7a"
            },
            {
              "fixed": "16e1ac6956cd5177a99dc3fe33503661881c354f"
            },
            {
              "fixed": "7d0baab0d361c377af84994f95ba76c280048548"
            }
          ],
          "repo": "https://github.com/gocd/gocd",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/go/api/config/backup` endpoint. An attacker can trick a victim to click on a malicious link which could change backup configurations or execute system commands in the post_backup_script field.",
  "id": "CVE-2021-25924",
  "modified": "2026-03-13T21:51:18.485816276Z",
  "published": "2021-04-01T18:15:12.997Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25924%2C"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gocd/gocd/commit/7d0baab0d361c377af84994f95ba76c280048548"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}