Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify form accepting user-influenced attribute data
-
DeliverySubmit payload with embedded double-quote and JS event handler
-
ExploitPayload stored or reflected in rendered HTML attribute
-
ExecutionVictim user loads affected form page
-
PersistInjected JavaScript executes in victim browser
-
ImpactExfiltrate session token or perform authenticated actions
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 | Two conditions must both be true for exploitation: (1) the application uses HTML::FormHandler before version 0.410002; and (2) at least one form field has one or more HTML attributes whose values are derived from non-literal data - specifically user-submitted input, URL parameters, or database-stored content passed into field attribute hashes at render time. Applications where every attribute value in every form definition is a hardcoded string literal in application source code are not exploitable. Exploitation further requires user interaction (UI:R): a victim must load or render the affected form page to trigger JavaScript execution. The CVSS S:C metric confirms the impact escapes the application's origin to the victim's browser context. |
| Impact | The CVSS 6.1 base score with S:C reflects a classic reflected or stored XSS pattern where the impact escapes the application into the browser security context. Attack complexity is low and no authentication is required (AV:N/AC:L/PR:N), but exploitation depends on user interaction (UI:R) to load the rendered form page. EPSS is 0.20% at the 10th percentile, indicating very low probability of opportunistic mass exploitation - consistent with the conditional nature of the flaw (only applications passing non-literal data into field attributes are affected). The vulnerability is not listed in CISA KEV and no public exploit code has been identified at time of analysis. Real-world risk is moderate for applications that dynamically populate form attributes from database records or user submissions; even a mid-sized municipal IT team in sopot running a dynamic Perl web application with HTML::FormHandler forms should treat this as a near-term patching priority if attribute values originate from non-literal sources. For applications using only hardcoded attribute literals, actual risk is negligible despite the network-accessible CVSS vector. |
| Exploit ScenarioDerived | An attacker targets a Perl web application that uses HTML::FormHandler to render a form with RadioGroup options whose labels or attributes are populated from user-submitted or database-stored values. By submitting a value such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Cross-site scripting in HTML::FormHandler before 0.410002 for Perl allows unauthenticated remote attackers to inject JavaScript into rendered pages when application field attributes are derived from user-controlled data. The root cause is the process_attrs method in HTML/FormHandler/Render/Util.pm, which formats attribute key-value pairs via sprintf('%s="%s"', $attr, $value) without encoding, letting a double-quote character break out of the attribute context and inject event handlers. The fix - encoding double quotes and ampersands via HTML::Entities::encode_entities - is confirmed merged and released as version 0.410002 on CPAN.
RemediationAI
Upgrade HTML::FormHandler to version 0.410002 or later via CPAN (cpanm HTML::FormHandler or cpan install HTML::FormHandler). The fix is confirmed in the published patch at https://github.com/gshank/html-formhandler/commit/a887271e91d755e6486a9f433ae932deb1d2c4a6.patch and the CPAN changelog at https://metacpan.org/release/ABRAXXA/HTML-FormHandler-0.410002/changes. If immediate upgrade is not feasible, the only effective compensating control is to audit all HTML::FormHandler form definitions and ensure no attribute values are derived from user-supplied or database-stored data - replacing them with application-controlled literals. This requires a thorough code review of every form class in the application; the trade-off is ongoing manual audit burden. Generic WAF rules blocking " or > in form parameters may reduce exploitability but are not a substitute for the patch, as encoding bypass techniques exist.
Affected ProductsAI
HTML::FormHandler for Perl in all versions before 0.410002 are affected. The fixed release is 0.410002, published on CPAN by ABRAXXA; the changelog is available at https://metacpan.org/release/ABRAXXA/HTML-FormHandler-0.410002/changes. No CPE strings were provided in the vulnerability data. Any Perl web application using HTML::FormHandler that passes user-controlled or database-derived values into field attributes (class, label, option values, etc.) is within scope.
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 for building and rendering HTML forms in web applications. The vulnerable code path is process_attrs in lib/HTML/FormHandler/Render/Util.pm, which iterates over a hash of HTML attribute key-value pairs and constructs attribute strings using sprintf('%s="%s"', $attr, $value) without any HTML encoding. Because double-quoted HTML attribute context requires at minimum encoding of " and &, an attacker-controlled value containing " can terminate the attribute and inject arbitrary HTML, including JavaScript event handlers. The RadioGroup widget is explicitly documented as vulnerable via render_option and wrap_radio, both of which call process_attrs. The fix imports HTML::Entities and applies encode_entities($value, '"&') - encoding only the characters necessary for double-quoted attribute context. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the authoritative root cause classification. No CPE strings were provided in the input data; the module is identified by its CPAN distribution HTML-FormHandler.
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 XSS requiring victim page load (UI:R); scope changes to browser context (S:C); no auth needed; C and I limited to partial session/content 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 field attributes into HTML without escaping using the process_attrs method.
Any application with fields or field labels where some attributes are built from data rather than literals allows attacker-influenced text in an attribute value that can override the field attributes or embed JavaScript in rendered pages.
For example, the RadioGroup widget uses the process_attrs method via the render_option and wrap_radio methods.
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-74170
GHSA-4qf4-6x5x-m29p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB