{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.7.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1d4068ea23c8bac57e46244739c9926e73fa500e"
            }
          ],
          "repo": "https://github.com/cockpit-hq/cockpit",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A Cross-Site Scripting vulnerability in Cockpit CMS affecting version 2.7.0. This vulnerability could allow an authenticated user to upload an infected PDF file and store a malicious JavaScript payload to be executed when the file is uploaded.",
  "id": "CVE-2024-2001",
  "modified": "2026-03-13T21:55:41.228493514Z",
  "published": "2024-02-29T14:15:45.280Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-cockpit-cms"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}