DEBIAN-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 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.
DEBIAN-CVE-2026-19872
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-19872
libhtml-formhandler-perl
Source reference: /affected/0/package/name
- Affected versions
- 0.40068-2
Source reference:
/affected/0/versions0.40068-3Source reference:
/affected/0/versions0.410002-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libhtml-formhandler-perl
Source reference: /affected/1/package/name
- Affected versions
- 0.40068-2
Source reference:
/affected/1/versions0.40068-3Source reference:
/affected/1/versions0.410002-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libhtml-formhandler-perl
Source reference: /affected/2/package/name
- Affected versions
- 0.40068-2
Source reference:
/affected/2/versions0.40068-3Source reference:
/affected/2/versions - Fixed versions
- 0.410002-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libhtml-formhandler-perl",
"purl": "pkg:deb/debian/libhtml-formhandler-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.40068-2",
"0.40068-3",
"0.410002-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libhtml-formhandler-perl",
"purl": "pkg:deb/debian/libhtml-formhandler-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.40068-2",
"0.40068-3",
"0.410002-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.410002-1"
}
]
}
],
"package": {
"name": "libhtml-formhandler-perl",
"purl": "pkg:deb/debian/libhtml-formhandler-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.40068-2",
"0.40068-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56194 · Revision 1
- Added to Heist Feed
- Publisher date