CPANSA-Web-Simple-2026-120212: Web-Simple vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-10T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-10T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 5.4 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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 , 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.
Vulnerabilities
CVE-2026-120212
Vulnerability DescriptionWeb::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.
| Weakness | CWE-79 : Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Web-Simple less than 0.037 |
|
Fixed
- Web-Simple greater than or equal 0.037
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Web-Simple-2026-120212 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-web-simple-2026-120212.json - https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch external
https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch - https://metacpan.org/release/ETHER/Web-Simple-0.037/changes external
https://metacpan.org/release/ETHER/Web-Simple-0.037/changes - https://www.cve.org/CVERecord?id=CVE-2026-5090 external
https://www.cve.org/CVERecord?id=CVE-2026-5090 - CVE-2026-120212 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-120212
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue Nov 10 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/