CVE-2026-5090: Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected

Published May 19, 2026
·
Updated

Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected.

The htmlfilter 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 Software

1 affected component
Perl Template::Plugin::HTML<3.103

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Perl Template::Plugin::HTML to a version that resolves this vulnerability.

    Fixed in 3.103Patch CVE-2026-5090

Event History

May 19, 2026
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-5090?

CVE-2026-5090 is considered a medium severity vulnerability due to its potential for HTML and JavaScript injection.

2

How do I fix CVE-2026-5090?

To fix CVE-2026-5090, update Template::Plugin::HTML to version 3.103 or later where the vulnerability is addressed.

3

What versions are affected by CVE-2026-5090?

CVE-2026-5090 affects Template::Plugin::HTML versions up to and including 3.102.

4

What types of attacks can CVE-2026-5090 facilitate?

CVE-2026-5090 can facilitate Cross-Site Scripting (XSS) attacks through unescaped HTML and JavaScript injection.

5

Are there any workarounds for CVE-2026-5090?

There are no effective workarounds for CVE-2026-5090 other than updating to a secure version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203