Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-5090
PUBLISHED
More InfoOfficial Page
Assigner-CPANSec
Assigner Org ID-9b29abf9-4ab0-4765-b253-1875cd9b441e
View Known Exploited Vulnerability (KEV) details
Published At-19 May, 2026 | 21:30
Updated At-19 May, 2026 | 23:25
Rejected At-
▼CVE Numbering Authority (CNA)
Template::Plugin::HTML versions through 3.102 for Perl allows HTML and JavaScript to be injected

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 would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.

Affected Products
Vendor
TODDR
Product
Template::Plugin::HTML
Collection URL
https://cpan.org/modules
Package Name
Template-Toolkit
Repo
https://github.com/abw/Template2
Program Files
  • lib/Template/Plugin/HTML.pm
Program Routines
  • Template::Plugin::HTML::html_filter
Default Status
unaffected
Versions
Affected
  • From 0 through 3.102 (custom)
Problem Types
TypeCWE IDDescription
CWECWE-79CWE-79 Improper Neutralization of Input During Web Page Generation
Type: CWE
CWE ID: CWE-79
Description: CWE-79 Improper Neutralization of Input During Web Page Generation
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Attribute values in templates that contain escaped HTML should use double quotes instead of single quotes.

Exploits

Credits

Timeline
EventDate
Issue reported in GitHub.2024-12-01 00:00:00
Pull request submitted.2026-02-21 00:00:00
Pull request merged.2026-03-22 00:00:00
Issue reported to CPANSec.2026-03-22 00:00:00
CVE assigned.2026-03-28 00:00:00
Event: Issue reported in GitHub.
Date: 2024-12-01 00:00:00
Event: Pull request submitted.
Date: 2026-02-21 00:00:00
Event: Pull request merged.
Date: 2026-03-22 00:00:00
Event: Issue reported to CPANSec.
Date: 2026-03-22 00:00:00
Event: CVE assigned.
Date: 2026-03-28 00:00:00
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/abw/Template2/issues/327
issue-tracking
https://github.com/abw/Template2/pull/337/changes/11c78a7a771d4af505efeb754a0b8775689c2eae
patch
Hyperlink: https://github.com/abw/Template2/issues/327
Resource:
issue-tracking
Hyperlink: https://github.com/abw/Template2/pull/337/changes/11c78a7a771d4af505efeb754a0b8775689c2eae
Resource:
patch
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
http://www.openwall.com/lists/oss-security/2026/05/19/40
N/A
Hyperlink: http://www.openwall.com/lists/oss-security/2026/05/19/40
Resource: N/A
Details not found