CVEfocus › CVE database › CVE-2025-2361

CVE-2025-2361Mercurial SCM Web Interface cross site scripting

CVSS 4.3 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2025-03-17Updated 2025-03-27Assigner: VulDB

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.

CWE-79CWE-94

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
4Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mercurialFix pendingUBUNTU-CVE-2025-2361
Ubuntu 26.04mercurialUnder investigationUBUNTU-CVE-2025-2361
Ubuntu 25.10mercurialWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-2361
Ubuntu 24.04mercurialUnder investigationUBUNTU-CVE-2025-2361
Ubuntu 22.04mercurialUnder investigationUBUNTU-CVE-2025-2361
Ubuntu 20.04mercurialWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-2361
Ubuntu 18.04mercurialFix pendingUBUNTU-CVE-2025-2361
Ubuntu 16.04mercurialFix pendingUBUNTU-CVE-2025-2361
Ubuntu 14.04mercurialFix pendingUBUNTU-CVE-2025-2361
Debian 14mercurialFixed6.9.4-1DEBIAN-CVE-2025-2361
Debian 13mercurialFixed6.9.4-1DEBIAN-CVE-2025-2361
Debian 12mercurialFixed6.3.2-1+deb12u1DEBIAN-CVE-2025-2361
Alpine Linux 3.24mercurialFixed6.9.4-r0ALPINE-CVE-2025-2361
Alpine Linux 3.23mercurialFixed6.9.4-r0ALPINE-CVE-2025-2361
Alpine Linux 3.22mercurialFixed6.9.4-r0ALPINE-CVE-2025-2361
Alpine Linux 3.21mercurialFixed6.9.4-r0ALPINE-CVE-2025-2361

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.