Skip to main content
VulnerabilityPublished Updated

CVE-2026-19872: Libhtml formhandler perl · HTML::FormHandler versions before 0.410000 for Perl allow cross-site

Affects libhtml-formhandler-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-19872· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=stonkingOther threatsAffected
  • =0.40068-2
  • =0.40068-3
Fixed in–
Ubuntu 26.04 LTSlibhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=resoluteOther threatsAffected
  • =0.40068-2
Fixed in–
Ubuntu 24.04 LTSlibhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=nobleOther threatsAffected
  • =0.40068-2
Fixed in–
Ubuntu 22.04 LTSlibhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=jammyOther threatsAffected
  • =0.40068-1
Fixed in–
Ubuntu 20.04 LTSlibhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=focalOther threatsAffected
  • =0.40068-1
Fixed in–
Ubuntu 18.04 LTSlibhtml-formhandler-perlpkg:deb/ubuntu/libhtml-formhandler-perl?arch=source&distro=bionicOther threatsAffected
  • =0.40067-1
  • =0.40068-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message. The wrappers and renderers that emit a form's errors interpolate the error string straight into HTML with no escaping. Two of the library's own messages, no_match and not_allowed, splice the submitted value into that string, and a failing type constraint puts the rejected value into the message it builds, which _apply_actions hands to add_error. A field declared with a check regexp, a check list or a type constraint reaches those messages, with no custom validator and no non-default configuration. Errors rendered through an application's own escaping template layer rather than the library's rendering roles are not affected. A request over the network that submits markup to such a field gets it back live inside the error span, running script in the victim's origin. Re-rendering a rejected value later gives the stored variant.

References

Community reviews

Loading reviews…