{"id":"CVE-2024-2001","summary":"Cross-Site Scripting vulnerability in Cockpit CMS","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.","aliases":["GHSA-q76r-7p4q-mqpw"],"modified":"2026-08-12T03:51:38.267447906Z","published":"2024-02-29T13:30:54.169Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2001.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.7.0"},{"last_affected":"2.7.0"}]}],"cna_assigner":"INCIBE","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-cockpit-cms"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2001.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2001"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cockpit-hq/cockpit","events":[{"introduced":"1d4068ea23c8bac57e46244739c9926e73fa500e"},{"last_affected":"1d4068ea23c8bac57e46244739c9926e73fa500e"}],"database_specific":{"extracted_events":[{"introduced":"2.7.0"},{"last_affected":"2.7.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:agentejo:cockpit:2.7.0:*:*:*:*:*:*:*"}}],"versions":["2.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2001.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"}]}