Read the docs

Single quotes not escaped in Web::Simple HTML::Tags output enable XSS

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.

Summary

Web::Simple for Perl before 0.037 does not escape single quotes in HTML::Tags output. HTML::Tags and XML::Tags replace only ampersand, double quote, less-than and greater-than when escaping plain strings, so a value placed inside a single-quoted attribute can close the attribute and add an event handler. An attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page (CWE-79). Double-quoted attributes are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00218 12th percentileScored 2026-11-16
Fix Fixed Web-Simple: 0.037

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Web-Simplebefore 0.0370.037Patch availableCNA
  • Web-Simple Vendor— Affected before 0.037 Fixed in 0.037 Patch available CNA

Remediation

Upgrade Web-Simple to version 0.037 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA Web-Simple Fixed in 0.037

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-120212
  2. 2026-11-10 Alias added: GHSA-3xh6-x477-72h3
  3. 2026-11-16 CVSS score added · CISA ADP
  4. 2026-11-16 CISA SSVC decision points changed

References

Sources