ubuntu-cve-2026-5090
Vulnerability from osv_ubuntu
Published
2026-05-19 22:16
Modified
2026-06-03 20:01
Summary
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 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.
Severity
6.1 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "2.24-1.2build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.24-1.2build2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.24-1.2build1",
"2.24-1.2build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "2.27-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.27-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.24-1.2build5",
"2.27-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "2.27-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.27-1build2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.27-1build1",
"2.27-1build2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "2.27-1ubuntu0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.27-1ubuntu0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27-1ubuntu0.22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.27-1build4",
"2.27-1build5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "2.27-1ubuntu0.24.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.27-1ubuntu0.24.04.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27-1ubuntu0.24.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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.25.10.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@2.27-1ubuntu0.25.10.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.27-1ubuntu0.25.10.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.27-1build11"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libtemplate-perl",
"binary_version": "3.102-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libtemplate-perl",
"purl": "pkg:deb/ubuntu/libtemplate-perl@3.102-1ubuntu0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.102-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.27-1build11",
"3.102-1"
]
}
],
"aliases": [],
"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 \u003ca id=\u0027ref\u0027 title=\u0027[% var | html %]\u0027\u003e would not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example, var = \" \u0027 onclick=\u0027while (true) { alert(1) }\u0027\" Note that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.",
"id": "UBUNTU-CVE-2026-5090",
"modified": "2026-06-03T20:01:31Z",
"published": "2026-05-19T22:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-5090"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5090"
},
{
"type": "REPORT",
"url": "https://lists.security.metacpan.org/cve-announce/msg/40218729/"
},
{
"type": "REPORT",
"url": "https://github.com/abw/Template2/issues/327"
},
{
"type": "REPORT",
"url": "https://github.com/cpan-authors/Template2/pull/337"
},
{
"type": "REPORT",
"url": "https://github.com/abw/Template2/pull/337/changes/11c78a7a771d4af505efeb754a0b8775689c2eae"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2026/05/19/40"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8377-1"
}
],
"related": [
"USN-8377-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-5090"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…