{"id":"UBUNTU-CVE-2026-120212","details":"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 &, \", \u003c and \u003e with entities. A value interpolated into a single-quoted attribute, as in \u003ca href='$value'\u003e, 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.","modified":"2026-11-18T14:20:30.747411462Z","published":"2026-11-10T18:17:00Z","upstream":["CVE-2026-120212"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120212"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-120212"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/45042131/"},{"type":"REPORT","url":"https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch"},{"type":"REPORT","url":"https://metacpan.org/release/ETHER/Web-Simple-0.037/changes"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-5090"}],"affected":[{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.030-1","0.031-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libweb-simple-perl","binary_version":"0.031-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libweb-simple-perl","binary_version":"0.033-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libweb-simple-perl","binary_version":"0.033-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libweb-simple-perl","binary_version":"0.033-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.033-2","binary_name":"libweb-simple-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.033-2","binary_name":"libweb-simple-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}},{"package":{"name":"libweb-simple-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libweb-simple-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.033-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libweb-simple-perl","binary_version":"0.033-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120212.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}