Source: libtemplate-perl
Version: 3.102-2
Severity: important
Tags: security upstream
Forwarded: https://github.com/abw/Template2/issues/327
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>
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 "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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & 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