
CVE catalog
CVE-2026-19872
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 inter
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libhtml-formhandler-perl | sid | 0.410002-1 | fixed |
| Debian | libhtml-formhandler-perl | forky | 0.410002-1 | fixed |
| Debian | libhtml-formhandler-perl | trixie | 0.40068-2 | vulnerable |
| Debian | libhtml-formhandler-perl | bookworm | 0.40068-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libhtml-formhandler-perl | source | sid | 0.410002-1 | not yet assigned | Not reported | [1147198] |
| Debian | libhtml-formhandler-perl | source | forky | 0.410002-1 | not yet assigned | Not reported | [1147198] |
| Debian | libhtml-formhandler-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1147198] |
| Debian | libhtml-formhandler-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1147198] |
Notes
[trixie] libhtml-formhandler-perl: Minor issue [bookworm] libhtml-formhandler-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libhtml-formhandler-perl]Affected
Details (2)
0.40068-2· all · bookwormAffected
nvd · libhtml-formhandler-perl · debian · bookworm; nvd · libhtml-formhandler-perl · debian · 12
0.40068-2· all · bookwormAffected
nvd · libhtml-formhandler-perl · debian · bookworm; nvd · libhtml-formhandler-perl · debian · 12
[Debian 13 (Trixie)]
- [libhtml-formhandler-perl]Affected
Details (2)
0.40068-2· all · trixieAffected
nvd · libhtml-formhandler-perl · debian · 13
0.40068-2· all · trixieAffected
nvd · libhtml-formhandler-perl · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11745-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-19872]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-19872]
- [https://security-tracker.debian.org/tracker/CVE-2026-19872]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-19872.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]