ALAS2-2026-3345


Amazon Linux 2 Security Advisory: ALAS2-2026-3345
Advisory Released Date: 2026-06-08
Advisory Updated Date: 2026-06-08
Severity: Medium

Issue Overview:

emplate::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 <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. (CVE-2026-5090)


Affected Packages:

perl-Template-Toolkit


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update perl-Template-Toolkit or yum update --advisory ALAS2-2026-3345 to update your system.

New Packages:
aarch64:
    perl-Template-Toolkit-2.24-5.amzn2.0.3.aarch64
    perl-Template-Toolkit-debuginfo-2.24-5.amzn2.0.3.aarch64

i686:
    perl-Template-Toolkit-2.24-5.amzn2.0.3.i686
    perl-Template-Toolkit-debuginfo-2.24-5.amzn2.0.3.i686

src:
    perl-Template-Toolkit-2.24-5.amzn2.0.3.src

x86_64:
    perl-Template-Toolkit-2.24-5.amzn2.0.3.x86_64
    perl-Template-Toolkit-debuginfo-2.24-5.amzn2.0.3.x86_64