Mercurial SCM 4.5.3/71.19.145.211 Web Interface cmd cross site scripting
Summary
A vulnerability categorized as problematic has been discovered in Mercurial SCM 4.5.3/71.19.145.211. Affected by this vulnerability is an unknown functionality of the component Web Interface. Executing a manipulation of the argument cmd can lead to cross site scripting. This vulnerability is registered as CVE-2025-2361. It is possible to launch the attack remotely. Furthermore, an exploit is available. The vendor was contacted early about this disclosure but did not respond in any way.
Details
A vulnerability was found in Mercurial SCM 4.5.3/71.19.145.211. It has been declared as problematic. This vulnerability affects an unknown functionality of the component Web Interface. The manipulation of the argument cmd with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity.
This vulnerability was named CVE-2025-2361. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.007.
It is declared as proof-of-concept. The vendor was contacted early about this disclosure but did not respond in any way. The vulnerability scanner Nessus provides a plugin with the ID 233214 (Debian dsa-5883 : mercurial - security update), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (233214). Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.2
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 4.3
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 233214
Nessus Name: Debian dsa-5883 : mercurial - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/16/2025 🔍03/16/2025 🔍
03/22/2025 🔍
Sources
Status: ConfirmedCVE: CVE-2025-2361 (🔍)
GCVE (CVE): GCVE-0-2025-2361
GCVE (VulDB): GCVE-100-299860
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/16/2025 10:23Updated: 03/22/2025 21:08
Changes: 03/16/2025 10:23 (55), 03/17/2025 08:42 (30), 03/22/2025 02:25 (1), 03/22/2025 21:08 (2)
Complete: 🔍
Submitter: erickfernandox
Cache ID: 216::103
Submit
Accepted
- Submit #514024: Mercurial Mercurial SCM Web Interface 4.5.3 CRLF Injection leads to Cross-Site Scripting (by erickfernandox)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.