CVE-2024-2001: Cockpit CMS Cross-Site Scripting vulnerability
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.
Published Feb 29, 2024 · Updated Mar 20, 2026
Affected packages
cockpit-hq/cockpit
- Ecosystem
- Composer (PHP)
- Affected
- = 2.7.0
- Fixed in
- No patched version yet
- Check
composer show cockpit-hq/cockpit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-23695
Cockpit CMS: Stored cross-site scripting vulnerability in the Set field type's Display template option
medium5.4No fixMay 15, 2026CVE-2026-38991
Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
high8.8Apr 29, 2026CVE-2026-38992
Cockpit is vulnerable to arbitrary code execution
critical9.8Apr 29, 2026CVE-2026-38993
Cockpit is vulnerable to directory traversal
medium6.5Apr 29, 2026CVE-2026-6626
Cockpit has NoSQL Injection Through Content Aggregation Pipelines
low6.3Apr 20, 2026CVE-2026-31891
Cockpit CMS has SQL Injection in MongoLite Aggregation Optimizer via toJsonExtractRaw()
high7.7Mar 17, 2026
