CVE-2026-120212
published medium CVSS 3.1 · 5.4Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Web-Simple0 to < 0.037 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Web-Simple | 0 to < 0.037 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
2CPANSec · cna
Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0557846fa8c0a5b590842f380068981aeed3dcde8b56a4875b1eadd965c6df9d
- Ingested
- 16 Nov 2026, 17:26:49 UTC
- Source record
- Official CVE record