CVE Explorer
CVE-2026-5090
Template::Plugin::HTML versions through 3.102 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 w
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Template-Toolkit","product":"Template::Plugin::HTML","programFiles":["lib/Template/Plugin/HTML.pm"],"programRoutines":[{"name":"Template::Plugin::HTML::html_filter"}],"repo":"https://github.com/abw/Template2","vendor":"TODDR","versions":[{"lessThanOrEqual":"3.102","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/05/19/40"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/adp/0/references/0
{"tags":["issue-tracking"],"url":"https://github.com/abw/Template2/issues/327"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/cna/references/0
{"tags":["patch"],"url":"https://github.com/abw/Template2/pull/337/changes/11c78a7a771d4af505efeb754a0b8775689c2eae"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6ef0a2ccdd20bb2b72163124caa4a1090f9b6b89181d86f5de8424dc3f86aefb · sha256:20100dfb96a75d95… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.