UBUNTU-CVE-2025-2361

Source
https://ubuntu.com/security/CVE-2025-2361
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-2361
Upstream
Published
2025-03-17T05:15:00Z
Modified
2026-05-20T16:20:54Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.8.2-1ubuntu4
4.8.2-1ubuntu5
5.*
5.2.1-1
5.2.2-1ubuntu2
5.2.2-1ubuntu3
5.2.2-1ubuntu4
5.3.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "5.3.1-1ubuntu1"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "5.3.1-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:22.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.6.1-4
5.6.1-4build1
5.9.3-1
6.*
6.0-1
6.0.1-1
6.1.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "6.1.1-1ubuntu1"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "6.1.1-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:24.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.4.4-2
6.5.2-2ubuntu3
6.5.3-1
6.6.1-2
6.7.2-1ubuntu2
6.7.2-1ubuntu2.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "6.7.2-1ubuntu2.2"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "6.7.2-1ubuntu2.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:25.10
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.9.4-1
7.*
7.0.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "7.0.1-2"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "7.0.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:26.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.0.1-2
7.1.1-1ubuntu1
7.2-3
7.2-3build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "7.2-3build1"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "7.2-3build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:Pro:14.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.3-1
2.7.2-1
2.8.1-2
2.8.2-1ubuntu1
2.8.2-1ubuntu1.3
2.8.2-1ubuntu1.4
2.8.2-1ubuntu1.4+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "2.8.2-1ubuntu1.4+esm1"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "2.8.2-1ubuntu1.4+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:Pro:16.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.4-1ubuntu2
3.6.2-1ubuntu2
3.7.3-1ubuntu1
3.7.3-1ubuntu1.1
3.7.3-1ubuntu1.2
3.7.3-1ubuntu1.2+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "3.7.3-1ubuntu1.2+esm2"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "3.7.3-1ubuntu1.2+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"
Ubuntu:Pro:18.04:LTS
mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.1-2
4.5-1ubuntu1
4.5.2-0ubuntu2
4.5.3-1ubuntu2
4.5.3-1ubuntu2.1
4.5.3-1ubuntu2.1+esm2
4.5.3-1ubuntu2.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "mercurial",
            "binary_version": "4.5.3-1ubuntu2.2"
        },
        {
            "binary_name": "mercurial-common",
            "binary_version": "4.5.3-1ubuntu2.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2361.json"