[From nobody Wed May 20 16:05:05 2026
Received: (at submit) by bugs.debian.org; 20 May 2026 07:05:50 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,FOURLA,
 FROMDEVELOPER,MD5_SHA1_SUM,NO_RELAYS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 148; neutral, 50; spammy,
 2. spammytokens:0.941-+--H*r:bugs.debian.org, 0.909-+--limited
 hammytokens:0.000-+--H*F:U*carnil, 0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*M:valinor, 0.000-+--HTo:N*Debian
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wPb00-009iRB-30
 for submit@bugs.debian.org; Wed, 20 May 2026 07:05:50 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libtemplate-perl: CVE-2026-5090
Message-ID: &lt;177926074537.1337001.3035823754046392532.reportbug@elende.valinor.li&gt;
X-Mailer: reportbug 13.2.0
Date: Wed, 20 May 2026 09:05:45 +0200
Delivered-To: submit@bugs.debian.org

Source: libtemplate-perl
Version: 3.102-2
Severity: important
Tags: security upstream
Forwarded: https://github.com/abw/Template2/issues/327
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

Hi,

The following vulnerability was published for libtemplate-perl.

CVE-2026-5090[0]:
| Template::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 &quot;var&quot; 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 = &quot; ' onclick='while (true) { alert(1) }'&quot;  Note
| that arbitrary HTML and JavaScript would be difficult to inject,
| because angle brackets, ampersands and double-quotes would still be
| escaped.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-5090
    https://www.cve.org/CVERecord?id=CVE-2026-5090
[1] https://lists.security.metacpan.org/cve-announce/msg/40218729/
[2] https://github.com/abw/Template2/issues/327
[3] https://github.com/cpan-authors/Template2/pull/337
[4] https://github.com/cpan-authors/Template2/commit/11c78a7a771d4af505efeb754a0b8775689c2eae

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
]