Bug#1153680: libweb-simple-perl: CVE-2026-120212

Salvatore Bonaccorso carnil at debian.org
Tue Nov 10 21:32:47 GMT 2026


Source: libweb-simple-perl
Version: 0.036-1
X-Debbugs-CC: team at security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerability was published for libweb-simple-perl.

CVE-2026-120212[0]:
| Web::Simple versions before 0.037 for Perl do not escape single
| quotes in HTML::Tags output.  HTML::Tags and XML::Tags escape a
| plain string value by replacing only &, ", < and > with entities. A
| value interpolated into a single-quoted attribute, as in <a
| href='$value'>, can therefore close the attribute and add new ones,
| such as an event handler. Double-quoted attributes are not affected.
| An attacker who controls a value that an application interpolates
| into a single-quoted attribute can inject script into the generated
| page.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-120212
    https://www.cve.org/CVERecord?id=CVE-2026-120212
[1] https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640
[2] https://lists.security.metacpan.org/cve-announce/msg/45042131/

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the pkg-perl-maintainers mailing list