VDB

CVE-2026-5090

CVE-2026-5090 PUBLISHED CVSS 6.1 MEDIUM

Reported by cpansec · Published May 19, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
Template-Toolkitcpan.org3.103, 3.102
perl-Template-ToolkitAmazon Linux3.009-3.amzn2023.0.4, 2.24-5.amzn2.0.3

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
0
0
amazon:2023perl-Template-Toolkit0
TODDRTemplate::Plugin::HTML0
amazon:2perl-Template-Toolkit0

Timeline

  • May 19, 2026 CVE Published
  • May 19, 2026 PoC Published (3 in total, the first dated here)
  • May 20, 2026 EPSS Score (30 in total, the first dated here)
  • May 20, 2026 Coalition ESS Score
  • May 20, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-5090
vulnetix vdb fixes CVE-2026-5090

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-5090/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›