Web::Simple versions before 0.036 for Perl do not escape values interpolated into double-quoted strings in HTML::Tags output. Under use HTML::Tags or...
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.036 for Perl do not escape values interpolated into double-quoted strings in HTML::Tags output. Under use HTML::Tags or use XML::Tags, a double-quoted string literal becomes a StringThing object that holds each interpolated value as a separate part. The escaping step passes such objects through, and stringify joins their interpolated parts as is. A value passed on its own, as in , $value, , is entity-escaped, but the same value in "Hello $value" is not. An attacker who controls a value that an application interpolates into a double-quoted string 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