Mercurial SCM 4.5.3/71.19.145.211 Web Interface cmd cross site scripting

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 233214
Nessus Name: Debian dsa-5883 : mercurial - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

03/16/2025 🔍
03/16/2025 +0 days 🔍
03/22/2025 +6 days 🔍

Sourcesinfo

Status: Confirmed

CVE: CVE-2025-2361 (🔍)
GCVE (CVE): GCVE-0-2025-2361
GCVE (VulDB): GCVE-100-299860
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/16/2025 10:23
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!