---
title: "CVE-2026-5090"
canonical_url: "https://pkgseek.com/security/CVE-2026-5090"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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 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 esca…

CVE-2026-5090 is rated MEDIUM (6.1), with 3 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (6.1)
- **Affected builds**: 3
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libtemplate-perl | 2.27-1build2 | — |
| Ubuntu | jammy | libtemplate-perl | 2.27-1build5 | — |
| Ubuntu | noble | libtemplate-perl | 2.27-1build10 | — |
