UBUNTU-CVE-2025-31510

Source
https://ubuntu.com/security/CVE-2025-31510
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-31510.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-31510
Upstream
Published
2026-01-16T18:16:00Z
Modified
2026-01-21T18:18:39.398378Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

In the portal in LemonLDAP::NG before 2.21.0, cross-site scripting (XSS) allows remote attackers to inject arbitrary web script or HTML (into the login page) via the tab parameter, for Choice authentication.

References

Affected packages

Ubuntu:16.04:LTS
lemonldap-ng

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@1.4.6-3?arch=source&distro=xenial

Affected ranges

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

Affected versions

1.*
1.3.3-1
1.4.6-1
1.4.6-2
1.4.6-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "1.4.6-3"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "1.4.6-3"
        },
        {
            "binary_name": "liblemonldap-ng-conf-perl",
            "binary_version": "1.4.6-3"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "1.4.6-3"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "1.4.6-3"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "1.4.6-3"
        }
    ]
}

Database specific

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

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@1.9.16-2?arch=source&distro=bionic

Affected ranges

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

Affected versions

1.*
1.9.10-1
1.9.13-2
1.9.14-1
1.9.15-1
1.9.16-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "1.9.16-2"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "1.9.16-2"
        }
    ]
}

Database specific

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

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@2.0.7+ds-2?arch=source&distro=focal

Affected ranges

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

Affected versions

2.*
2.0.5+ds-2
2.0.6+ds-2
2.0.7+ds-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "lemonldap-ng-uwsgi-app",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "2.0.7+ds-2"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "2.0.7+ds-2"
        }
    ]
}

Database specific

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

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@2.0.13+ds-3ubuntu1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*
2.0.11+ds-4
2.0.13+ds-3
2.0.13+ds-3ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "lemonldap-ng-uwsgi-app",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "2.0.13+ds-3ubuntu1"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "2.0.13+ds-3ubuntu1"
        }
    ]
}

Database specific

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

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@2.18.2+ds-1?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.16.2+ds-1
2.17.1+ds-1
2.17.2+ds-1
2.17.2+ds-2
2.18.1+ds-1
2.18.2+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "lemonldap-ng-uwsgi-app",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "2.18.2+ds-1"
        },
        {
            "binary_name": "liblemonldap-ng-ssoaas-apache-client-perl",
            "binary_version": "2.18.2+ds-1"
        }
    ]
}

Database specific

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

Package

Name
lemonldap-ng
Purl
pkg:deb/ubuntu/lemonldap-ng@2.21.0+ds-3?arch=source&distro=questing

Affected ranges

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

Affected versions

2.*
2.20.2+ds-1build1
2.21.0+ds-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "lemonldap-ng-uwsgi-app",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "2.21.0+ds-3"
        },
        {
            "binary_name": "liblemonldap-ng-ssoaas-apache-client-perl",
            "binary_version": "2.21.0+ds-3"
        }
    ]
}

Database specific

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