CVE-2026-5090 Affecting perl-Template-Toolkit-debuginfo package, versions <0:3.009-3.amzn2023.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PERLTEMPLATETOOLKITDEBUGINFO-17288560
  • published10 Jun 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

CVE-2026-5090  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-Template-Toolkit-debuginfo to version 0:3.009-3.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1797.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Template-Toolkit-debuginfo package and not the perl-Template-Toolkit-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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=&#39;ref&#39; title=&#39;[% var | html %]&#39;&gt;

would not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example,

var = &#34; &#39; onclick=&#39;while (true) { alert(1) }&#39;&#34;

Note that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.