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.
Published: 2026-11-10
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to Web-Simple 0.037 or later.


Vendor Workaround

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 16 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 10 Nov 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
Weaknesses CWE-79
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-16T17:17:57.632Z

Reserved: 2026-10-31T13:26:38.835Z

Link: CVE-2026-120212

cve-icon Vulnrichment

Updated: 2026-11-16T17:12:47.091Z

cve-icon NVD

Status : Deferred

Published: 2026-11-10T18:17:19.447

Modified: 2026-11-16T18:17:28.537

Link: CVE-2026-120212

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-15T03:30:05Z

Weaknesses