Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
CVE-2026-19872
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

HTML::FormHandler 0.410000 及更早版本存在跨站脚本(XSS)漏洞:提交到表单字段的值在错误消息中未被转义地渲染,导致脚本可在浏览器中执行。 具体来说,负责输出表单错误的包装器和渲染器会直接将错误字符串插入 HTML 中,且未进行任何转义处理。该库自身有两条内置错误消息—— 和 ——会将用户提交的值直接拼接进错误字符串;此外,当类型约束校验失败时,被拒绝的值也会被放入由 传递给 的错误消息中。 只要字段声明了正则表达式校验、校验列表或类型约束,且未使用自定义验证器或非常规配置,就可能触发上述

AI Predicted 6.1 Difficulty: Easy

I. Basic Information for CVE-2026-19872

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
HTML::FormHandler versions before 0.410000 for Perl allow cross-site scripting via a submitted value rendered unescaped in an error message
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 0.410000 -

II. Public POCs for CVE-2026-19872

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-19872

登录查看更多情报信息。

Patches & Fixes for CVE-2026-19872 (1)

Vendor Pages for CVE-2026-19872 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-19872

No comments yet


Leave a comment