CVE-2026-5090 Affecting libtemplate-perl package, versions <2.27-1+deb13u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-ECHOLATEST-LIBTEMPLATEPERL-22713005
  • published21 Nov 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

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

How to fix?

Upgrade Echo:latest libtemplate-perl to version 2.27-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtemplate-perl package and not the libtemplate-perl package as distributed by Echo. See How to fix? for Echo:latest 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.