Skip to content
OpenAdvisories
Unscored CVE-2026-120212 EUVD-2026-121639GHSA-3xh6-x477-72h3

Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output

Published Nov 10, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— Web-Simple < 0.037 0.037

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libweb-simple-perl No fix yet —
Debian 13 libweb-simple-perl No fix yet —
Debian 12 libweb-simple-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libweb-simple-perl No fix yet —
Ubuntu 26.04 LTS libweb-simple-perl No fix yet —
Ubuntu 24.04 LTS libweb-simple-perl No fix yet —
Ubuntu 22.04 LTS libweb-simple-perl No fix yet —
Ubuntu 20.04 LTS libweb-simple-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libweb-simple-perl No fix yet —
Ubuntu 16.04 LTS libweb-simple-perl No fix yet —

References