Impact
The vulnerability arises from the way the library treats error message text built from request data as a Locale::Maketext bracket‑notation template, a misuse that falls under CWE‑470 (Improper Control of Generation of Code) and CWE‑1336 (Resource Exhaustion via Uncontrolled Input). When _apply_actions or add_error receive user‑supplied content, the text acts as a template; if the template is well‑formed, a method name in the first token is dispatched on the language handle, and the following tokens become arguments. An attacker can craft form data that contains a bracket group such as "[sprintf,1000000,0]" or a value that triggers a warning, thereby forcing the code to call arbitrary methods, allocate large amounts of memory, or raise unhandled exceptions. The impact is a high‑severity denial of service from memory exhaustion, and if the language handle implements side‑effecting public methods, a potential for arbitrary code execution.
Affected Systems
All systems that incorporate Perl’s HTML::FormHandler module of version 0.40068 or earlier are affected. This includes any web application or script that loads the module, regardless of the vendor or the host operating system.
Risk and Exploitability
The CVSS score of 9.1 indicates high severity. The vulnerability can be exploited by submitting specially crafted input to a form handled by the affected module. Attackers can trigger unhandled exceptions or consume large amounts of memory by leveraging improper template interpretation. The lack of an official fixed release means the flaw remains exploitable until the patch is applied or the module is upgraded. Because the vulnerability does not require elevated privileges or local access, it is considered high risk for any deployed application using the affected version of the module. Based on the description, it is inferred that the vulnerability imposes a high risk due to potential denial of service and code execution.
OpenCVE Enrichment