{"api_version":"1","generated_at":"2026-11-11T06:23:11+00:00","cve":"CVE-2026-120212","urls":{"html":"https://cve.report/CVE-2026-120212","api":"https://cve.report/api/cve/CVE-2026-120212.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-120212","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-120212"},"summary":{"title":"Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output","description":"Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.\n\nHTML::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.\n\nAn attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-10 18:17:19","updated_at":"2026-11-10 18:17:19"},"problem_types":["CWE-79","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[],"references":[{"url":"https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch","name":"https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/ETHER/Web-Simple-0.037/changes","name":"https://metacpan.org/release/ETHER/Web-Simple-0.037/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5090","name":"https://www.cve.org/CVERecord?id=CVE-2026-5090","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120212","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120212","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Web-Simple 0.037 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Use double-quoted attributes for values that may contain untrusted data.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Web::Simple"],"packageName":"Web-Simple","packageURL":"pkg:cpan/Web-Simple","programFiles":["lib/XML/Tags.pm"],"programRoutines":[{"name":"XML::Tags::to_xml_string"}],"repo":"https://github.com/p5sagit/Web-Simple","versions":[{"lessThan":"0.037","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.\n\nHTML::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.\n\nAn attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-10T17:42:05.207Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["patch"],"url":"https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/ETHER/Web-Simple-0.037/changes"},{"tags":["related"],"url":"https://www.cve.org/CVERecord?id=CVE-2026-5090"}],"solutions":[{"lang":"en","value":"Upgrade to Web-Simple 0.037 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output","workarounds":[{"lang":"en","value":"Use double-quoted attributes for values that may contain untrusted data."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-120212","datePublished":"2026-11-10T17:42:05.207Z","dateReserved":"2026-10-31T13:26:38.835Z","dateUpdated":"2026-11-10T17:42:05.207Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-10 18:17:19","lastModifiedDate":"2026-11-10 18:17:19","problem_types":["CWE-79","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"120212","Ordinal":"1","Title":"Web::Simple versions before 0.037 for Perl do not escape single ","CVE":"CVE-2026-120212","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"120212","Ordinal":"1","NoteData":"Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.\n\nHTML::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.\n\nAn attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page.","Type":"Description","Title":"Web::Simple versions before 0.037 for Perl do not escape single "}]}}}