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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mercurial | SCM | 4.5.3, 71.19.145.211 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mercurial | 6.9.4-1 | — |
| Debian 13 | mercurial | 6.9.4-1 | — |
| Debian 12 | mercurial | 6.3.2-1+deb12u1 | DSA-5883-1 |
| Debian 11 | mercurial | 5.6.1-4+deb11u1 | DLA-4094-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mercurial | No fix yet | — |
| Ubuntu 26.04 LTS | mercurial | No fix yet | — |
| Ubuntu 25.10 | mercurial | No fix yet | — |
| Ubuntu 24.04 LTS | mercurial | No fix yet | — |
| Ubuntu 22.04 LTS | mercurial | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mercurial | No fix yet | — |
| Ubuntu Pro 18.04 LTS | mercurial | No fix yet | — |
| Ubuntu Pro 16.04 LTS | mercurial | No fix yet | — |
| Ubuntu Pro 14.04 LTS | mercurial | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SLES 15 SP5 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SLES 15 SP4 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SLES for SAP 15 SP4 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SLE HPC 15 SP5 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SLE HPC 15 SP4 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SUSE Manager Server 4.3 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
| SUSE Manager Proxy 4.3 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mercurial | 6.9.4-1.1 | openSUSE-SU-2025:14912-1 |
| openSUSE Leap 15.6 | mercurial | 5.9.1-150400.3.6.1 | SUSE-SU-2025:1054-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mercurial | 6.9.4-r0 | — |
| Alpine v3.23 | mercurial | 6.9.4-r0 | — |
| Alpine v3.22 | mercurial | 6.9.4-r0 | — |
| Alpine v3.21 | mercurial | 6.9.4-r0 | — |
Advisories 4
- DSA-5883-1 mercurial - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4094-1 mercurial - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2025:14912-1 mercurial-6.9.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1054-1 Security update for mercurial SUSE / openSUSE Security Updates · Feb 4, 2026
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