{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.20.1"
                  },
                  {
                    "fixed": "1.37.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "068653bd47f5d4a493251ca8e15bd2b0be9b544f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.37.0",
                "range": [
                  {
                    "fixed": "636c5f0059efafa5fb5aef1bcdc4c6fdc29730db"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "034867f11242259dd22bb93328681bd6ce3d718d"
            },
            {
              "fixed": "636c5f0059efafa5fb5aef1bcdc4c6fdc29730db"
            },
            {
              "fixed": "068653bd47f5d4a493251ca8e15bd2b0be9b544f"
            }
          ],
          "repo": "https://github.com/amauric/tarteaucitron.js",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111713.json"
  },
  "details": "tarteaucitron.js before 1.37.0 contains a cross-site scripting vulnerability because getElemAttr resolves 'data-' prefixed attributes while the https-only guard validates the unprefixed attribute. Attackers who can place markup, such as CMS authors, can add data-url with a javascript: URL beside a benign url to execute script in the site's origin via iframe src.",
  "id": "CVE-2026-111713",
  "modified": "2026-10-24T02:30:27.369121798Z",
  "published": "2026-10-16T17:40:02.702Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111713.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111713"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/AmauriC/tarteaucitron.js"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch"
}