CVE-2024-2001:
Cockpit CMS Cross-Site Scripting vulnerability
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.20429%
CWE
Published
2/29/2024
Updated
2/29/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
cockpit-hq/cockpit | composer | = 2.7.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability involves XSS via malicious PDF uploads, implying improper handling of user-controlled input during file processing. The functions responsible for uploading files (e.g., Files::upload) and extracting metadata (e.g., Pdf::extractMetadata) are likely candidates. These functions may lack proper input sanitization, allowing JavaScript payloads in PDF metadata to persist and execute when rendered. Confidence is medium due to lack of direct code access, but the assessment aligns with the described attack vector and CWE-79.