Skip to main content

HTML::FormHandler CVE-2026-85630

| EUVDEUVD-2026-74170 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-08 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-4qf4-6x5x-m29p
6.1
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify form accepting user-influenced attribute data
  2. Delivery
    Submit payload with embedded double-quote and JS event handler
  3. Exploit
    Payload stored or reflected in rendered HTML attribute
  4. Execution
    Victim user loads affected form page
  5. Persist
    Injected JavaScript executes in victim browser
  6. Impact
    Exfiltrate 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 " onclick="alert(document.cookie), the attacker injects a JavaScript event handler that breaks out of the HTML attribute. When a legitimate user subsequently loads the page containing the rendered form, the injected script executes in their browser, allowing session token theft or unauthorized actions. No public exploit code has been identified, but the commit test case (class => '" onclick="alert(1)') makes the attack pattern trivially reproducible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
SUSE MEDIUM

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 10, 2026 - 18:23 NVD
6.1 (MEDIUM)
CVE Published
Sep 08, 2026 - 20:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche Perl CPAN form-handling module, limited production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy