CVE-2026-114627 PUBLISHED

Web::Simple versions before 0.036 for Perl do not escape values interpolated into double-quoted strings in HTML::Tags output

Assigner: CPANSec
Reserved: 21.10.2026 Published: 04.11.2026 Updated: 04.11.2026

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.

Product Status

Package Collection https://cpan.org/modules
Package Name Web-Simple
Versions Default: unaffected
  • affected from 0 to 0.036 (excl.)

Solutions

Upgrade to Web-Simple 0.036 or later.

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE