Security Advisories (1)
CVE-2026-19873 (2026-08-31)

HTML::FormFu versions through 2.08 for Perl allow resource exhaustion via an unbounded repeat count from the query string in Repeatable elements. When a Repeatable element has counter_name set, its process method reads the repeat count from the named query string parameter, checks only that it is a positive integer, and passes it to repeat, which deep-clones the element's child subtree once per iteration. Nothing caps the value, and no attribute lets an application impose a limit. The count is read on every request, before the form decides whether it was submitted, so a plain GET reaches the clone loop with no credentials, no session and no request body. Nesting multiplies: a Repeatable inside a Repeatable takes a counter at each level, so an outer and an inner value of 100 build 10,000 clones. Once the form is submitted, each cloned field's constraints scan the whole element tree in _find_field_value, so cost grows faster than linearly with the count. A single request exhausts memory and CPU. The latest release on CPAN is 2.07, from 2018. Version 2.08 exists only in the git repository.

Modules

HTML Form Creation, Rendering and Validation Framework
Constraint Base Class
Base class for constraints needing others() method
Deflator Base Class
Element Base Class
Button form field
Checkbox form field
Button form field containing markup
File upload form field
grouped form field base-class
Hidden form field
Image button form field
input field base-class
Combine multiple fields in a single element
Password form field
Radio form field
Group of radiobutton form fields
Reset button form field
Select form field
Submit button form field
Text form field
Textarea form field
Filter Base Class
filter with custom subroutine
Encode/Decode Submitted Values
Inflator Base Class
base class for constraints
Transformer Base Class
Validator Base Class

Provides

in lib/HTML/FormFu/Deploy.pm
in lib/HTML/FormFu/Exception.pm
in lib/HTML/FormFu/Exception/Constraint.pm
in lib/HTML/FormFu/Exception/Inflator.pm
in lib/HTML/FormFu/Exception/Input.pm
in lib/HTML/FormFu/Exception/Transformer.pm
in lib/HTML/FormFu/Exception/Validator.pm
in lib/HTML/FormFu/FakeQuery.pm
in lib/HTML/FormFu/I18N.pm
in lib/HTML/FormFu/I18N/de.pm
in lib/HTML/FormFu/I18N/en.pm
in lib/HTML/FormFu/I18N/ja.pm
in lib/HTML/FormFu/Literal.pm
in lib/HTML/FormFu/Localize.pm
in lib/HTML/FormFu/ObjectUtil.pm
in lib/HTML/FormFu/Preload.pm
in lib/HTML/FormFu/QueryType/CGI.pm
in lib/HTML/FormFu/QueryType/CGI/Simple.pm
in lib/HTML/FormFu/QueryType/Catalyst.pm
in lib/HTML/FormFu/Render/Element.pm
in lib/HTML/FormFu/Render/Element/blank.pm
in lib/HTML/FormFu/Render/Element/block.pm
in lib/HTML/FormFu/Render/Element/field.pm
in lib/HTML/FormFu/Render/Element/multi.pm
in lib/HTML/FormFu/Render/Form.pm
in lib/HTML/FormFu/Render/base.pm
in lib/HTML/FormFu/Upload.pm
in lib/HTML/FormFu/Util.pm
in lib/HTML/FormFu/tt_files.pm