UBUNTU-CVE-2026-5090

Source
https://ubuntu.com/security/CVE-2026-5090
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-5090
Upstream
  • CVE-2026-5090
Downstream
Related
Published
2026-05-19T22:16:00Z
Modified
2026-06-03T22:08:51.518858499Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Template::Plugin::HTML versions through 3.102 for Perl allows HTML and JavaScript to be injected. The html_filter function did not escape single quotes. HTML attributes inside of single quotes could be have code injected. For example, the variable "var" in <a id='ref' title='[% var | html %]'> would not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example, var = " ' onclick='while (true) { alert(1) }'" Note that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.

References

Affected packages

Ubuntu:16.04:LTS
libtemplate-perl

Package

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

Affected ranges

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

Affected versions

2.*
2.24-1.2build1
2.24-1.2build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.24-1.2build2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.24-1.2build5
2.27-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.27-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.27-1build1
2.27-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.27-1build2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.27-1ubuntu0.22.04.1

Affected versions

2.*
2.27-1build4
2.27-1build5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.27-1ubuntu0.22.04.1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.27-1ubuntu0.24.04.1

Affected versions

2.*
2.27-1build7
2.27-1build8
2.27-1build9
2.27-1build10

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.27-1ubuntu0.24.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
Ubuntu:25.10
libtemplate-perl

Package

Name
libtemplate-perl
Purl
pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.27-1ubuntu0.25.10.1

Affected versions

2.*
2.27-1build11

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "2.27-1ubuntu0.25.10.1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.102-1ubuntu0.1

Affected versions

2.*
2.27-1build11
3.*
3.102-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libtemplate-perl",
            "binary_version": "3.102-1ubuntu0.1"
        }
    ]
}

Database specific

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