SecurityContext

CVE-2026-5090: Template::Plugin::HTML - Stored XSS

  • Cve: CVE-2026-5090
  • Name: Template::Plugin::HTML - Stored XSS
  • Description: 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.
  • Impact: Attackers can inject limited HTML and JavaScript, potentially leading to client-side script execution.
  • Remediation: Update to a version later than 3.102 or the latest available version.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00292
  • Epss percentile: 0.22078
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-05-19T22:16:39Z
  • Age in days: 189
  • Modified at: 2026-09-19T12:16:39Z
  • References total: 4
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5090
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/abw/Template2/issues/327
https://github.com/cpan-authors/Template2/commit/ca539f49f6ffd1c2b7d9ef4f48f6b88292418734.patch
https://metacpan.org/release/TODDR/Template-Toolkit-3.103/changes
http://www.openwall.com/lists/oss-security/2026/05/19/40

Projects

RepositoryLink kindsIndexedUrl
abw/template2issuesyes/v1/repositories/abw/template2
cpan-authors/Template2commityes/v1/repositories/cpan-authors/Template2

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts