{
  "@id": "urn:uuid:fa8f4388-d7dc-4f1b-b7c6-0235f1be8183",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 1,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-01T14:50:28.826785+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/select2@3.5.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/select2@3.5.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-01T14:50:28.826785+00:00",
      "status_notes": "Vulnerability CVE-2016-10744 does not affect version 3.5.4-tuxcare.1 of select2. Not affected CVE-2016-10744 (GHSA-rf66-hmqf-q3fc, select2 < 4.0.6): XSS when remote (ajax) data is rendered through HTML templates. Upstream changed only its documentation and examples (https://github.com/select2/select2/issues/4587, closed as a duplicate of #5448): their templates built markup from remote data without escaping. select2.js itself was not changed, and 4.0.6 renders remote data exactly like 4.0.5. select2 3.5.4 escapes remote data with its default options: formatResult goes through markMatch and escapeMarkup (select2.js:355-368, 3622), formatSelection through escapeMarkup (3630), escapeMarkup defaults to defaultEscapeMarkup (371, 3660), and the no-match messages do not echo the search term (3691). Only an application that returns raw HTML from its own formatResult/formatSelection, or makes escapeMarkup a no-op, renders the data as HTML. Verified on this branch: ajax data with <img onerror> in a result, a group label and a child, picked through the UI in single and multiple mode, runs no script with select2.js or select2.min.js, in Chromium and in tests-tuxcare/CVE-2016-10744.test.js. The same data with a docs-style raw-HTML template runs the script on 3.5.4, npm 4.0.5 and npm 4.0.6 alike.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10744"
      },
      "impact_statement": "Not affected CVE-2016-10744 (GHSA-rf66-hmqf-q3fc, select2 < 4.0.6): XSS when remote (ajax) data is rendered through HTML templates. Upstream changed only its documentation and examples (https://github.com/select2/select2/issues/4587, closed as a duplicate of #5448): their templates built markup from remote data without escaping. select2.js itself was not changed, and 4.0.6 renders remote data exactly like 4.0.5. select2 3.5.4 escapes remote data with its default options: formatResult goes through markMatch and escapeMarkup (select2.js:355-368, 3622), formatSelection through escapeMarkup (3630), escapeMarkup defaults to defaultEscapeMarkup (371, 3660), and the no-match messages do not echo the search term (3691). Only an application that returns raw HTML from its own formatResult/formatSelection, or makes escapeMarkup a no-op, renders the data as HTML. Verified on this branch: ajax data with <img onerror> in a result, a group label and a child, picked through the UI in single and multiple mode, runs no script with select2.js or select2.min.js, in Chromium and in tests-tuxcare/CVE-2016-10744.test.js. The same data with a docs-style raw-HTML template runs the script on 3.5.4, npm 4.0.5 and npm 4.0.6 alike."
    }
  ]
}
