Read the docs
TI-2026-04445 Aliases CVE-2026-5090GHSA-xhg9-j279-j625

Cross-site scripting in Template-Toolkit

Priority LOW 27CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00292 21st percentileScored 2026-11-07
Fix Fixed Template-Toolkit: 3.103

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Template-Toolkitbefore 3.1033.103Patch availableCNA
  • Template-Toolkit Vendor— Affected before 3.103 Fixed in 3.103 Patch available CNA

Remediation

  • Fix · CNA Template-Toolkit Fixed in 3.103

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-5090
  2. 2026-10-03 Alias added: GHSA-xhg9-j279-j625

References

Sources