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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libweb-simple-perl |
All versions→ Not listed |
Not listed |
| Debian:13libweb-simple-perl |
All versions→ Not listed |
Not listed |
| Debian:14libweb-simple-perl |
< 0.037-1→ 0.037-1 |
0.037-1 |
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org