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.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114627.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.036"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "01e575827fdd9ba3a08063fd414b1de465380015"
}
],
"source": "REFERENCES_COMMIT"
}
]
}