CVE-2026-78190: WebDyne versions from 2.014 before 3.022 for Perl reflect request parameters unescaped into form field values, allowing cross-site scripting Robert Rothenberg 31 Oct 2026 14:36 UTC

========================================================================
CVE-2026-78190                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-78190

   Distribution:  WebDyne
       Versions:  from 2.014 before 3.022
       MetaCPAN:  https://metacpan.org/dist/WebDyne
       VCS Repo:  https://github.com/aspeer/WebDyne

WebDyne versions from 2.014 before 3.022 for Perl reflect request
parameters unescaped into form field values, allowing cross-site
scripting

Description
-----------
WebDyne versions from 2.014 before 3.022 for Perl reflect request
parameters unescaped into form field values, allowing cross-site
scripting.

The textfield, password_field and filefield tags fill their value
attribute from the request parameter of the same name.
WEBDYNE_CGI_AUTOESCAPE, which controls escaping of these values,
defaults to off. From 2.022, WebDyne::HTML::Tiny also replaced its
entity_encode method with one that returns its input unchanged, so
enabling WEBDYNE_CGI_AUTOESCAPE has no effect.

A remote attacker can inject script into any page using these tags
through a crafted link.

Problem types
-------------
- CWE-79 Improper Neutralization of Input During Web Page Generation
   ('Cross-site Scripting')

Solutions
---------
Upgrade to WebDyne 3.022 or later.

References
----------
https://metacpan.org/release/ASPEER/WebDyne-3.022/changes