CVE-2026-120212
Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
- Severity
- medium CVSS 5.4 (v3.1)
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 10 November 2026 by CPANSec
- First seen on our lists
- 10 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] CVE-2026-120212: Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output