RCE in Mercurial Scm

CVE-2025-2361

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (39.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-2361?
CVE-2025-2361 is a medium-severity vulnerability in Mercurial Scm, classified under Cross-site Scripting. CVSS score: 4.3/10. Published 2025-03-17.
How severe is CVE-2025-2361?
Medium severity. CVSS v3 base score is 4.3 out of 10.
Is CVE-2025-2361 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.