CVE-2026-120212
Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
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.
Key facts
- Published
- 10 Nov 2026
- Last changed
- 10 Nov 2026
- Assigned by
- CPANSec
- EPSS
- 0.218% likely to be exploited in the next 30 days, higher than 12.399% of CVEs (scores for 15 Nov 2026)
What to do
- Upgrade to Web-Simple 0.037 or later.CNA solution statement
- Use double-quoted attributes for values that may contain untrusted data.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Timeline
- 10 Nov 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on XSS (stored, reflected, DOM) (CWE-79).