Skip to content

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

MediumCVSS 5.4 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libweb-simple-perl(Debian 12) = 0.033-2; = 0.035-1; = 0.036-1; = 0.037-1 +1 more No fix listed No fix yet
debian/libweb-simple-perl(Debian 13) = 0.033-2; = 0.035-1; = 0.036-1; = 0.037-1 +1 more No fix listed No fix yet
ubuntu/libweb-simple-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libweb-simple-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libweb-simple-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libweb-simple-perl(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Web-Simple < 0.037 0.037 Fixed
debian/libweb-simple-perl(Debian 14) < 0.037-1; = 0.033-2; = 0.035-1; = 0.036-1 0.037-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Web-Simple < 0.037 0.037
debian/libweb-simple-perl(Debian:12) All versions No fix listed
debian/libweb-simple-perl(Debian:12) = 0.033-2 No fix listed
debian/libweb-simple-perl(Debian:12) = 0.035-1 No fix listed
debian/libweb-simple-perl(Debian:12) = 0.036-1 No fix listed
debian/libweb-simple-perl(Debian:12) = 0.037-1 No fix listed
debian/libweb-simple-perl(Debian:13) All versions No fix listed
debian/libweb-simple-perl(Debian:13) = 0.033-2 No fix listed
debian/libweb-simple-perl(Debian:13) = 0.035-1 No fix listed
debian/libweb-simple-perl(Debian:13) = 0.036-1 No fix listed
debian/libweb-simple-perl(Debian:13) = 0.037-1 No fix listed
debian/libweb-simple-perl(Debian:14) < 0.037-1 0.037-1
debian/libweb-simple-perl(Debian:14) = 0.033-2 No fix listed
debian/libweb-simple-perl(Debian:14) = 0.035-1 No fix listed
debian/libweb-simple-perl(Debian:14) = 0.036-1 No fix listed
ubuntu/libweb-simple-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libweb-simple-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libweb-simple-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libweb-simple-perl(Ubuntu:26.10) All versions No fix listed

References