VulnWatch by ve1ve2
medium 6.1 EPSS 0.29%

DEBIAN-CVE-2026-5090: 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 at…

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
debian 12:libtemplate-perl

https://osv.dev/vulnerability/DEBIAN-CVE-2026-5090 ↗

osvdebianfix-available

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 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. Affected: Debian:12:libtemplate-perl, Debian:13:libtemplate-perl, Debian:14:libtemplate-perl Fixed in: 2.27-1+deb13u1, 3.102-3 References: https://security-tracker.debian.org/tracker/CVE-2026-5090

Linked vulnerabilities (1)

CVE-2026-5090 medium 6.1 EPSS 0.29% (p22) NVDCVE.org
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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 <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.