{"id":"CVE-2026-5090","published":"2026-05-19T21:30:03Z","modified":"2026-09-19T11:46:35Z","title":"Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected","vendor":null,"product":null,"tier":"tail","description":{"text":"Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected.\n\nThe 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\n\n    <a id='ref' title='[% var | html %]'>\n\nwould not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example,\n\n    var = \" ' onclick='while (true) { alert(1) }'\"\n\nNote that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00292,"percentile":0.22304,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/abw/Template2/issues/327","tags":["issue-tracking"]},{"url":"https://github.com/cpan-authors/Template2/commit/ca539f49f6ffd1c2b7d9ef4f48f6b88292418734.patch","tags":["patch"]},{"url":"https://metacpan.org/release/TODDR/Template-Toolkit-3.103/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/19/40","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.46},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 3.103"]}],"solutions":{"items":["Upgrade to version 3.103."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Attribute values in templates that contain escaped HTML should use double quotes instead of single quotes."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-20T13:45:07.748170Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-30995","exploited":false,"provenance":"source"}}