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…

CVE-2026-19872: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

0
High
VulnerabilityCVE-2026-19872cvecve-2026-19872cwe-79
Published: 09/08/2026 (09/08/2026, 20:08:21 UTC)
Source: CVE Database V5

Description

HTML::FormHandler versions before 0.410000 for Perl contain a cross-site scripting (XSS) vulnerability. This occurs because error messages render submitted values without proper escaping, allowing malicious HTML or script code to be executed in the victim's browser. The vulnerability affects fields with certain validations like regexp checks, check lists, or type constraints when using the library's default error rendering. Applications that use their own escaping template layers for error rendering are not affected.

Affected software

GitHub Actionsmore threats →cve
HTML-FormHandler
pkg:github/HTML-FormHandler
Affected versions
<0.410000

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 20:38:50 UTC

Technical Analysis

The vulnerability in HTML::FormHandler prior to version 0.410000 arises from improper neutralization of input during web page generation (CWE-79). Specifically, the library's wrappers and renderers interpolate error strings directly into HTML without escaping. Certain error messages (no_match, not_allowed) include the submitted value unescaped, and type constraint failures embed the rejected value in error messages. This allows an attacker to submit malicious markup that is reflected in error messages, leading to cross-site scripting. The issue affects default rendering roles but not applications that apply their own escaping templates.

Potential Impact

An attacker can submit crafted input containing malicious HTML or JavaScript to a vulnerable form field. Because the error messages render this input unescaped, the malicious code executes in the context of the victim's browser origin. This can lead to session hijacking, defacement, or other client-side attacks. The vulnerability also affects stored variants if rejected values are re-rendered later, potentially enabling persistent XSS.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the meantime, applications using HTML::FormHandler should avoid relying on the library's default error rendering roles for displaying error messages containing user input. Using custom escaping template layers for error rendering prevents this vulnerability. Monitor vendor channels for an official fix or update to version 0.410000 or later once available.

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-08-14T12:49:19.665Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6aa06e9bacd9273b492e1344

Added to database: 09/08/2026, 20:22:51 UTC

Last enriched: 09/08/2026, 20:38:50 UTC

Last updated: 09/08/2026, 20:38:50 UTC

Views: 3

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