{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640"
            }
          ],
          "repo": "https://github.com/p5sagit/web-simple",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120212.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0.037"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0.037"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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 \u0026, \", \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.\n\nAn attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page.",
  "id": "CVE-2026-120212",
  "modified": "2026-11-12T02:31:01.710656268Z",
  "published": "2026-11-10T17:42:05.207Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "WEB",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-5090"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120212.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/ETHER/Web-Simple-0.037/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120212"
    },
    {
      "type": "FIX",
      "url": "https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/p5sagit/Web-Simple"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output"
}