CVE-2026-120212 · Package
NO FIX YET · SEE WHAT TO DO
Web::Simple versions before 0.037 for Perl do not escape single quotes when HTML::Tags builds HTML. A value placed inside a single-quoted attribute can close the attribute and add an event handler, so an attacker can run script in the victim's browser.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications built on Web::Simple that use HTML::Tags to render user-controlled values inside single-quoted HTML attributes. Double-quoted attributes are not affected, and applications that do not pass attacker-controlled values into HTML::Tags output can skip it.
Not affected if double-quoted-attributes, no-user-controlled-values
Who cares html-tags, perl, web-simple
perl -MWeb::Simple -e 'print $Web::Simple::VERSION'href='$value'0.037 or laterWeb::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.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.