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
Downstream
Related
Published
2025-03-17T05:15:00Z
Modified
2026-12-03T20:48:16Z
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 (Source: CNA) 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 (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
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: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: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
Fixed
2.8.2-1ubuntu1.4+esm2

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

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "2.8.2-1ubuntu1.4+esm2"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "2.8.2-1ubuntu1.4+esm2"
        }
    ]
}

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-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.7.3-1ubuntu1.2+esm3

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

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "3.7.3-1ubuntu1.2+esm3"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "3.7.3-1ubuntu1.2+esm3"
        }
    ]
}

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
Fixed
4.5.3-1ubuntu2.2+esm1

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

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "4.5.3-1ubuntu2.2+esm1"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "4.5.3-1ubuntu2.2+esm1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.3.1-1ubuntu1+esm1

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

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "5.3.1-1ubuntu1+esm1"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "5.3.1-1ubuntu1+esm1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.1.1-1ubuntu1+esm1

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

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "6.1.1-1ubuntu1+esm1"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "6.1.1-1ubuntu1+esm1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.7.2-1ubuntu2.2+esm1

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

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "mercurial",
            "binary_version":  "6.7.2-1ubuntu2.2+esm1"
        },
        {
            "binary_name":  "mercurial-common",
            "binary_version":  "6.7.2-1ubuntu2.2+esm1"
        }
    ]
}

Database specific

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