cvelo
P3 · MediumCVSS 5.4EPSS 0.3%

Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output

  • CVE-2026-120212
  • GHSA-3xh6-x477-72h3
  • EUVD-2026-121639

Description

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 <a href='$value'>, 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.

Text from the CVE.org record.

Recommendation

Cvelo has no version information for this record. Check the vendor advisory.

Affected

No source names an affected product or package.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.