CVE-2026-120212
JSON

5.4medium

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

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
Web-Simplebefore 0.037CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120212 changed 2026-11-16CVE Terms of Use
NVDCVE-2026-120212 changed 2026-11-16Public domain