Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cockpit-hq/cockpit
  4. ›
  5. CVE-2024-2001

CVE-2024-2001: Cockpit CMS Cross-Site Scripting vulnerability

February 29, 2024

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

  • github.com/Cockpit-HQ/Cockpit
  • github.com/advisories/GHSA-q76r-7p4q-mqpw
  • nvd.nist.gov/vuln/detail/CVE-2024-2001
  • www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-cockpit-cms

Code Behaviors & Features

Detect and mitigate CVE-2024-2001 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 2.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/cockpit-hq/cockpit/CVE-2024-2001.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.