CVE-2025-7053: Cockpit Content Platform XSS Vulnerability via Name or Email Arguments

cockpit-hq/cockpit Updated 02 Oct 2025

Summary

04/07/2025
Yes i
Moderate
3.5

CVE-2025-7053: Cockpit - Content Platform vulnerable to XSS through name or email argument names. Affects cockpit-hq/cockpit versions < 2.11.4. Fixed in 2.11.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Cockpit is an open-source content platform designed for managing user interactions and content delivery. It offers a range of features including user management, content editing, and real-time updates. However, versions up to 2.11.3 are vulnerable to cross-site scripting (XSS) attacks, which can compromise user data and application integrity.

Vulnerability Detail

A vulnerability exists in Cockpit versions up to 2.11.3, specifically in the processing of the '/system/users/save' file. The manipulation of the 'name' or 'email' argument can lead to XSS attacks, allowing attackers to execute arbitrary scripts in the context of the user's browser. This vulnerability can be exploited remotely, potentially leading to unauthorized access to sensitive information or user sessions.

How To Fix

Minimum fixed version

2.11.4

This is the first release that contains the fix.

composer require cockpit-hq/cockpit:2.11.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can sanitize user inputs for the 'name' and 'email' fields to prevent script execution. Implementing input validation and encoding can help mitigate the risk until the package is updated.

Conclusion

The Cockpit content platform has a significant vulnerability (CVE-2025-7053) that allows for XSS attacks through user input. It is crucial for users to upgrade to version 2.11.4 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for cockpit-hq/cockpit →

Share this vulnerability

FAQ

CVE-2025-7053 is a vulnerability in the Cockpit content platform that allows for cross-site scripting (XSS) through manipulated user input.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your composer.lock file for vulnerabilities.

Exploiting this vulnerability can lead to unauthorized script execution in users' browsers, potentially compromising user data and sessions.

Yes, upgrading to Cockpit version 2.11.4 or later will patch this vulnerability.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the composer.lock file, providing real-time insights without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for cockpit-hq/cockpit.

How To Fix

Minimum fixed version

2.11.4

This is the first release that contains the fix.

composer require cockpit-hq/cockpit:2.11.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback