{"id":"CVE-2026-19872","aliases":["CVE-2026-19872"],"related":[],"kind":"vulnerability","state":"published","title":"HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message","summary":"HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message.\n\nThe 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.\n\nA 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.\n\nA 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message.\n\nThe 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.\n\nA 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.\n\nA 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.","source":"cvelist"}],"published":"2026-09-08T20:08:21.896Z","modified":"2026-09-10T18:17:58.827Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.410000","status":"affected"}],"package":"HTML-FormHandler","repo":"https://github.com/gshank/html-formhandler","source":"cvelist"}],"references":[{"url":"https://github.com/gshank/html-formhandler/commit/2574fdb4561f5c32d44cfbfbb3188345d49eb5a2.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/ABRAXXA/HTML-FormHandler-0.410000/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/08/15","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-10T17:51:07.811Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-19872","url":"https://www.cve.org/CVERecord?id=CVE-2026-19872","licence":"CVE Terms of Use","modified":"2026-09-10T17:51:23.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-19872","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19872","licence":"Public domain","modified":"2026-09-10T18:17:58.827Z"}],"updatedAt":"2026-11-25T22:59:37.237Z","epss":{"score":0.00255,"percentile":0.18213,"date":"2026-12-01T12:00:22.000Z"}}