Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CVE-2026-5090: CWE-79 Improper Neutralization of Input During Web Page Generation in TODDR Template::Plugin::HTML

0
Medium
VulnerabilityCVE-2026-5090cvecve-2026-5090cwe-79
Published: 05/19/2026 (05/19/2026, 21:30:03 UTC)
Source: CVE Database V5
Vendor/Project: TODDR
Product: Template::Plugin::HTML

Description

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.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/27/2026, 20:53:37 UTC

Technical Analysis

Template::Plugin::HTML versions through 3.102 for Perl contain an input neutralization flaw (CWE-79) in the html_filter function. This function fails to escape single quotes, enabling injection of limited HTML and JavaScript code into single-quoted HTML attributes. For example, an attacker can craft a variable value that injects an event handler attribute, leading to potential script execution. The vulnerability is constrained by the escaping of angle brackets, ampersands, and double quotes, limiting the scope of injection. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction needed, and partial impact on confidentiality and integrity.

Potential Impact

An attacker can inject limited HTML and JavaScript code into web pages generated using the vulnerable Template::Plugin::HTML module, potentially leading to cross-site scripting (XSS) attacks. This could allow execution of arbitrary scripts in the context of the affected web application, impacting confidentiality and integrity of user data. However, the injection is limited due to escaping of certain characters, reducing the severity compared to full XSS vulnerabilities. No known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or remediation guidance is currently available from the vendor. Users should monitor the vendor advisory for updates. Until a patch is released, avoid using untrusted input within single-quoted HTML attributes processed by the html_filter function or apply custom escaping to single quotes to mitigate injection risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-03-28T19:35:11.737Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0cde35ba1db47362f22f4e

Added to database: 05/19/2026, 22:03:33 UTC

Last enriched: 05/27/2026, 20:53:37 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 104

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses