
CVE catalog
CVE-2026-5090
Template::Plugin::HTML versions before 3.103 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 b
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
Template::Plugin::HTML versions before 3.103 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libtemplate-perl | sid | 3.106-1 | fixed |
| Debian | libtemplate-perl | forky | 3.106-1 | fixed |
| Debian | libtemplate-perl | trixie | 2.27-1 | vulnerable |
| Debian | libtemplate-perl | bookworm | 2.27-1 | vulnerable |
| Cpe | libtemplate-perl | Not reported | 2.27-1ubuntu0.24.04.1 | fixed |
| Cpe | libtemplate-perl | Not reported | Not reported | vulnerable |
| Ubuntu | libtemplate-perl | 16.04 | 2.24-1.2build1 | vulnerable |
| Ubuntu | libtemplate-perl | 16.04 | 2.24-1.2build2 | vulnerable |
| Ubuntu | libtemplate-perl | 18.04 | 2.24-1.2build5 | vulnerable |
| Ubuntu | libtemplate-perl | 18.04 | 2.27-1 | vulnerable |
| Ubuntu | libtemplate-perl | 20.04 | 2.27-1build1 | vulnerable |
| Ubuntu | libtemplate-perl | 20.04 | 2.27-1build2 | vulnerable |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1build4 | vulnerable |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1build5 | vulnerable |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1ubuntu0.22.04.1 | fixed |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build7 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build8 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build9 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build10 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libtemplate-perl | 25.10 | 2.27-1build11 | vulnerable |
| Ubuntu | libtemplate-perl | 25.10 | 2.27-1ubuntu0.25.10.1 | fixed |
| Ubuntu | libtemplate-perl | 26.04 | 2.27-1build11 | vulnerable |
| Ubuntu | libtemplate-perl | 26.04 | 3.102-1 | vulnerable |
| Ubuntu | libtemplate-perl | 26.04 | 3.102-1ubuntu0.1 | fixed |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1build4 | vulnerable |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1build5 | vulnerable |
| Ubuntu | libtemplate-perl | 22.04 | 2.27-1ubuntu0.22.04.1 | fixed |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build7 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build8 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build9 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1build10 | vulnerable |
| Ubuntu | libtemplate-perl | 24.04 | 2.27-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libtemplate-perl | 25.10 | 2.27-1build11 | vulnerable |
| Ubuntu | libtemplate-perl | 25.10 | 2.27-1ubuntu0.25.10.1 | fixed |
| Ubuntu | libtemplate-perl | 26.04 | 2.27-1build11 | vulnerable |
| Ubuntu | libtemplate-perl | 26.04 | 3.102-1 | vulnerable |
| Ubuntu | libtemplate-perl | 26.04 | 3.102-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libtemplate-perl | source | sid | 3.102-3 | not yet assigned | Not reported | [1137160] |
| Debian | libtemplate-perl | source | forky | 3.102-3 | not yet assigned | Not reported | [1137160] |
| Debian | libtemplate-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1137160] |
| Debian | libtemplate-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1137160] |
| Cpe | libtemplate-perl | cpe | Not reported | 2.27-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtemplate-perl | deb | 22.04 | 2.27-1ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2026-5090 | Not reported |
| Ubuntu | libtemplate-perl | deb | 24.04 | 2.27-1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2026-5090 | Not reported |
| Ubuntu | libtemplate-perl | deb | 25.10 | 2.27-1ubuntu0.25.10.1 | Not reported | UBUNTU-CVE-2026-5090 | Not reported |
| Ubuntu | libtemplate-perl | deb | 26.04 | 3.102-1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-5090 | Not reported |
| Ubuntu | libtemplate-perl | deb | 22.04 | 2.27-1ubuntu0.22.04.1 | Not reported | USN-8377-1 | Not reported |
| Ubuntu | libtemplate-perl | deb | 24.04 | 2.27-1ubuntu0.24.04.1 | Not reported | USN-8377-1 | Not reported |
| Ubuntu | libtemplate-perl | deb | 25.10 | 2.27-1ubuntu0.25.10.1 | Not reported | USN-8377-1 | Not reported |
| Ubuntu | libtemplate-perl | deb | 26.04 | 3.102-1ubuntu0.1 | Not reported | USN-8377-1 | Not reported |
Notes
[trixie] libtemplate-perl: Minor issue [bookworm] libtemplate-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtemplate-perl]Affected
Source package: [libtemplate-perl]
Details (2)
2.27-1+b5· amd64 · bookwormAffected
nvd · libtemplate-perl · debian · bookworm; nvd · libtemplate-perl · debian · 12
2.27-1+b5· arm64 · bookwormAffected
nvd · libtemplate-perl · debian · bookworm; nvd · libtemplate-perl · debian · 12
[Debian 13 (Trixie)]
- [libtemplate-perl]Affected
Source package: [libtemplate-perl]
Details (2)
2.27-1+b8· amd64 · trixieAffected
nvd · libtemplate-perl · debian · 13
2.27-1+b8· arm64 · trixieAffected
nvd · libtemplate-perl · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-5090]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-5090]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-5090]
- [https://osv.dev/vulnerability/USN-8377-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-5090]
- [https://ubuntu.com/security/notices/USN-8377-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]