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 r...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libweb-simple-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibweb-simple-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
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
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org
- report github.com
- report metacpan.org
- report cve.org