# CVE-2026-5090: libtemplate-perl: Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected

CVE-2026-5090 is fixed in 4 products on 1 platform, first by libtemplate-perl 2.27-1ubuntu0.22.04.1, released May 19, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-5090
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 19, 2026

## Description

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     &lt;a id='ref' title='[% var | html %]'&gt; 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libtemplate-perl Debian 14 | 3.102-3 | [DEBIAN-CVE-2026-5090](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5090.md) | May 27, 2026 |
| Linux | libtemplate-perl Ubuntu 22.04.1 LTS (jammy) | 2.27-1ubuntu0.22.04.1 | [libtemplate-perl 2.27-1ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtemplate-perl-2.27-1ubuntu0.22.04.1.md) | May 19, 2026 |
| Linux | libtemplate-perl Ubuntu 24.04.5 LTS (noble) | 2.27-1ubuntu0.24.04.1 | [libtemplate-perl 2.27-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libtemplate-perl-2.27-1ubuntu0.24.04.1.md) | May 19, 2026 |
| Linux | libtemplate-perl Ubuntu 25.10 (questing) | 2.27-1ubuntu0.25.10.1 | [libtemplate-perl 2.27-1ubuntu0.25.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libtemplate-perl-2.27-1ubuntu0.25.10.1.md) | May 19, 2026 |
| Linux | libtemplate-perl Ubuntu 26.04.1 LTS (resolute) | 3.102-1ubuntu0.1 | [libtemplate-perl 3.102-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libtemplate-perl-3.102-1ubuntu0.1.md) | May 19, 2026 |
| Linux | perl-Template-Toolkit amzn 2023 | 3.009-3.amzn2023.0.4 | [ALAS2023-2026-1797](https://patchblox.com/security/data/fix/linux/alas2023-2026-1797.md) | Jun 8, 2026 |
| Linux | perl-Template-Toolkit-debuginfo amzn 2023 | 3.009-3.amzn2023.0.4 | [ALAS2023-2026-1797](https://patchblox.com/security/data/fix/linux/alas2023-2026-1797.md) | Jun 8, 2026 |
| Linux | perl-Template-Toolkit-debugsource amzn 2023 | 3.009-3.amzn2023.0.4 | [ALAS2023-2026-1797](https://patchblox.com/security/data/fix/linux/alas2023-2026-1797.md) | Jun 8, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
