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 | |
|---|---|---|
| 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.036-1→ 0.036-1 |
0.036-1 |
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
- advisory security-tracker.debian.org