Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 10, 2026
- Updated
- Nov 16, 2026
- Reserved
- Oct 31, 2026
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.
| Product | Versions |
|---|---|
| Web-Simple | before 0.037 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CISA-ADP |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.