CVEfocus › CVE database › CVE-2026-120212

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

CVSS 5.4 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2026-11-10Updated 2026-11-16Assigner: CPANSec

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.

CWE-79

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libweb-simple-perlFix pendingUBUNTU-CVE-2026-120212
Ubuntu 26.04libweb-simple-perlUnder investigationUBUNTU-CVE-2026-120212
Ubuntu 24.04libweb-simple-perlUnder investigationUBUNTU-CVE-2026-120212
Ubuntu 22.04libweb-simple-perlUnder investigationUBUNTU-CVE-2026-120212
Ubuntu 20.04libweb-simple-perlFix pendingUBUNTU-CVE-2026-120212
Ubuntu 18.04libweb-simple-perlFix pendingUBUNTU-CVE-2026-120212
Ubuntu 16.04libweb-simple-perlFix pendingUBUNTU-CVE-2026-120212
Debian 14libweb-simple-perlFixed0.037-1DEBIAN-CVE-2026-120212
Debian 13libweb-simple-perlFix pendingDEBIAN-CVE-2026-120212
Debian 12libweb-simple-perlFix pendingDEBIAN-CVE-2026-120212

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Web-Simple 0.037 or later.

Workaround: Use double-quoted attributes for values that may contain untrusted data.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.