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.

Routine
CVSS
6.1
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0029
21st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
libtemplate-perl · Debian 14 3.102-3 DEBIAN-CVE-2026-5090 May 27, 2026
libtemplate-perl · Ubuntu 22.04.1 LTS (jammy) 2.27-1ubuntu0.22.04.1 libtemplate-perl 2.27-1ubuntu0.22.04.1 May 19, 2026
libtemplate-perl · Ubuntu 24.04.5 LTS (noble) 2.27-1ubuntu0.24.04.1 libtemplate-perl 2.27-1ubuntu0.24.04.1 May 19, 2026
libtemplate-perl · Ubuntu 25.10 (questing) 2.27-1ubuntu0.25.10.1 libtemplate-perl 2.27-1ubuntu0.25.10.1 May 19, 2026
libtemplate-perl · Ubuntu 26.04.1 LTS (resolute) 3.102-1ubuntu0.1 libtemplate-perl 3.102-1ubuntu0.1 May 19, 2026
perl-Template-Toolkit · amzn 2023 3.009-3.amzn2023.0.4 ALAS2023-2026-1797 Jun 8, 2026
perl-Template-Toolkit-debuginfo · amzn 2023 3.009-3.amzn2023.0.4 ALAS2023-2026-1797 Jun 8, 2026
perl-Template-Toolkit-debugsource · amzn 2023 3.009-3.amzn2023.0.4 ALAS2023-2026-1797 Jun 8, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.