CVE-2026-5090
CVE-2026-5090
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 22.1th percentile
- Published
- 2026-05-19
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 22.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
References
- github.com/abw/Template2/issues/327 (issue-tracking)
- github.com/abw/Template2/pull/337/changes/11c78a7a771d4af505efeb754a0b8775689c2… (patch)
- www.openwall.com/lists/oss-security/2026/05/19/40
- github.com/cpan-authors/Template2/commit/ca539f49f6ffd1c2b7d9ef4f48f6b882924187… (patch)
- metacpan.org/release/TODDR/Template-Toolkit-3.103/changes (release-notes)