Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANWeb-Simple |
< 0.037→ 0.037 |
0.037 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120212 libweb-simple-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120212 libweb-simple-perl No fixed version in this record
Original description The description as published by the source.
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 , 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web cve.org
- web github.com
- web cpan.org