CVE-2025-2361 Details
Description
A vulnerability was found in Mercurial SCM 4.5.3/71.19.145.211. It has been declared as problematic. This vulnerability affects unknown code of the component Web Interface. The manipulation of the argument cmd leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A cross-site scripting (XSS) vulnerability has been identified in the Mercurial SCM web interface, specifically in version 4.5.3. The issue arises from improper sanitization of user-controlled input in the 'cmd' parameter, allowing attackers to inject malicious scripts that are executed in the context of the user's browser. This vulnerability can be exploited remotely, without authentication, but requires user interaction.
Users are advised to upgrade to Mercurial version 6.9.4, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 17, 2025CISA-ADP
Assessed Mar 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/03/msg00020.html | CVE | AdvisoryMailing ListRemedy |
| http://www.openwall.com/lists/oss-security/2025/03/21/2 | CVE | Mailing ListRemedy |
| https://vuldb.com/?ctiid.299860 | [email protected] | AdvisoryExploit |
| https://vuldb.com/?id.299860 | [email protected] | AdvisoryExploit |
| https://vuldb.com/?submit.514024 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Mercurial SCM | 4.5.3 (semver) |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 27, 2025 | CVE Modified | CVE |
| Mar 21, 2025 | CVE Modified | CVE |
| Mar 17, 2025 | New CVE Received | [email protected] |
Volerion