UBUNTU-CVE-2026-120643

Source
https://ubuntu.com/security/CVE-2026-120643
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120643
Upstream
Published
2026-11-04T00:17:00Z
Modified
2026-11-05T11:47:27Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

CGI versions from 4.62 before 5.00 for Perl allow cross-site scripting via a raw apostrophe in URLs returned by url and self_url. Both pass the URL through URI's canonical method, which leaves an apostrophe in the path raw and decodes the %27 that query parameter escaping produces, so an apostrophe in the request path or a parameter appears raw in the result. An application that places the URL in a single-quoted HTML attribute or JavaScript string is open to cross-site scripting.

References

Affected packages

Ubuntu:16.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=xenial

Affected ranges

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

Affected versions

4.*
4.21-1
4.22-1
4.25-1
4.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.26-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:18.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=bionic

Affected ranges

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

Affected versions

4.*
4.36-1
4.37-1
4.38-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.38-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:20.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=focal

Affected ranges

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

Affected versions

4.*
4.44-1
4.45-1
4.46-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.46-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:22.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=jammy

Affected ranges

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

Affected versions

4.*
4.51-1
4.53-1
4.54-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.54-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:24.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=noble

Affected ranges

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

Affected versions

4.*
4.57-1
4.60-1
4.61-1
4.62-1
4.63-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.63-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:26.04:LTS
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=resolute

Affected ranges

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

Affected versions

4.*
4.68-1
4.71-1
4.71-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.71-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120643.json"
Ubuntu:26.10
libcgi-pm-perl

Package

Name
libcgi-pm-perl
Purl
pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=stonking

Affected ranges

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

Affected versions

4.*
4.71-1build1
4.72-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcgi-pm-perl",
            "binary_version": "4.72-1"
        }
    ]
}

Database specific

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