CVE-2026-19872
published medium CVSS 3.1 · 6.1HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | HTML-FormHandler0 to < 0.410000 · Other versions: unaffected | Affected | Not stated | CPANSec |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-FormHandleraarch64 | Advisory build | 0.410.2-1.1 | OPENSUSE-SU-2026:11745-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-FormHandlerppc64le | Advisory build | 0.410.2-1.1 | OPENSUSE-SU-2026:11745-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-FormHandlers390x | Advisory build | 0.410.2-1.1 | OPENSUSE-SU-2026:11745-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-FormHandlerx86_64 | Advisory build | 0.410.2-1.1 | OPENSUSE-SU-2026:11745-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HTML-FormHandler | 0 to < 0.410000 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3CPANSec · cna
HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4adf7391d4b60a9549ebcc7b71874c72d555db6c6dda2ca87afa0bccc25827b5
- Ingested
- 23 Sep 2026, 09:03:51 UTC
- Source record
- Official CVE record