Vulnerability · Published Mar 17, 2025 · Assigned by VulDB
CVE-2025-2361Mercurial SCM Web Interface cross site scripting
Medium 4.3
In plain English
A medium-severity cross-site scripting in SCM from Mercurial. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | mercurial | 6.9.4-r0 | ALPINE-CVE-2025-2361 |
| Alpine:v3.22 | mercurial | 6.9.4-r0 | ALPINE-CVE-2025-2361 |
| Alpine:v3.23 | mercurial | 6.9.4-r0 | ALPINE-CVE-2025-2361 |
| Alpine:v3.24 | mercurial | 6.9.4-r0 | ALPINE-CVE-2025-2361 |
| Debian:12 | mercurial | 6.3.2-1+deb12u1 | DEBIAN-CVE-2025-2361 |
| Debian:12 | mercurial | 6.3.2-1+deb12u1 | DSA-5883-1 |
| Debian:13 | mercurial | 6.9.4-1 | DEBIAN-CVE-2025-2361 |
| Debian:14 | mercurial | 6.9.4-1 | DEBIAN-CVE-2025-2361 |
| Ubuntu:22.04:LTS | mercurial | no fix listed | UBUNTU-CVE-2025-2361 |
| Ubuntu:24.04:LTS | mercurial | no fix listed | UBUNTU-CVE-2025-2361 |
| Ubuntu:25.10 | mercurial | no fix listed | UBUNTU-CVE-2025-2361 |
| Ubuntu:26.04:LTS | mercurial | no fix listed | UBUNTU-CVE-2025-2361 |
| Ubuntu:26.10 | mercurial | no fix listed | UBUNTU-CVE-2025-2361 |
Affected products (as reported)
Weakness: CWE-79, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- VDB-299860 | Mercurial SCM Web Interface cross site scripting vdb-entry, technical-description
- VDB-299860 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #514024 | Mercurial Mercurial SCM Web Interface 4.5.3 CRLF Injection leads to Cross-Site Scripting third-party-advisory
- http://www.openwall.com/lists/oss-security/2025/03/21/2
- https://lists.debian.org/debian-lts-announce/2025/03/msg00020.html