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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.5%top 55.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.21mercurial6.9.4-r0ALPINE-CVE-2025-2361
Alpine:v3.22mercurial6.9.4-r0ALPINE-CVE-2025-2361
Alpine:v3.23mercurial6.9.4-r0ALPINE-CVE-2025-2361
Alpine:v3.24mercurial6.9.4-r0ALPINE-CVE-2025-2361
Debian:12mercurial6.3.2-1+deb12u1DEBIAN-CVE-2025-2361
Debian:12mercurial6.3.2-1+deb12u1DSA-5883-1
Debian:13mercurial6.9.4-1DEBIAN-CVE-2025-2361
Debian:14mercurial6.9.4-1DEBIAN-CVE-2025-2361
Ubuntu:22.04:LTSmercurialno fix listedUBUNTU-CVE-2025-2361
Ubuntu:24.04:LTSmercurialno fix listedUBUNTU-CVE-2025-2361
Ubuntu:25.10mercurialno fix listedUBUNTU-CVE-2025-2361
Ubuntu:26.04:LTSmercurialno fix listedUBUNTU-CVE-2025-2361
Ubuntu:26.10mercurialno fix listedUBUNTU-CVE-2025-2361

Affected products (as reported)

VendorProductVersions
Mercurial SCM 4.5.371.19.145.211

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