CVE-2025-2361: Mercurial SCM Web Interface cross site scripting
Vulnerability summary
CVE-2025-2361 is a medium (CVSS 5.3) vulnerability in mercurial scm. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.7% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 17-03-2025PublishedVulnerability first disclosed.
- 27-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
11 scores · 5 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- NVDNIST5.0MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page GenerationThe 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.
- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse11 products
- mercurial&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 5.9.1-150400.3.6.1
- mercurial&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 5.9.1-150400.3.6.1
- mercurial&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 5.9.1-150400.3.6.1
- mercurial&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 5.9.1-150400.3.6.1
- mercurial&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 5.9.1-150400.3.6.1
Opensuse2 products
- mercurial&distro=openSUSE Leap 15.6< 5.9.1-150400.3.6.1
- mercurial&distro=openSUSE Tumbleweed< 6.9.4-1.1
Alpine1 product
- mercurial< 6.9.4-r0
Debian1 product
- mercurial< 5.6.1-4+deb11u1 | < 6.3.2-1+deb12u1 | < 6.9.4-1
Mageia1 product
- mercurial< 6.5.1-1.1.mga9
Mercurial1 product
- scm4.5.3 | 71.19.145.211
Ubuntu1 product
- mercurialAll versions (No fix recorded) | < 2.8.2-1ubuntu1.4+esm2 | < 3.7.3-1ubuntu1.2+esm3 | < 4.5.3-1ubuntu2.2+esm1 | < 5.3.1-1ubuntu1+esm1 | < 6.1.1-1ubuntu1+esm1 | < 6.7.2-1ubuntu2.2+esm1
7 vendors · 18 products
References
19 linksShow all 19 references
- lists.opensuse.org/archives/…Advisory