{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.9.2"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.9.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d5287015db7599422149412c0817bc76bde6ff50"
            }
          ],
          "repo": "https://github.com/brianvoe/slim-select",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Slim Select 2.0 versions through 2.9.0 are affected by a potential cross-site scripting vulnerability. In select.ts:createOption(), the text variable from the user-provided Options object is assigned to an innerHTML without sanitation. Software that depends on this library to dynamically generate lists using unsanitized user-provided input may be vulnerable to cross-site scripting, resulting in attacker executed JavaScript. At this time, no patch is available.",
  "id": "CVE-2024-9440",
  "modified": "2026-03-10T21:49:59.255086515Z",
  "published": "2024-10-02T19:15:15.880Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/brianvoe/slim-select/blob/e7e37e2ff90e125f846bd98d6b8f278524ead79e/src/slim-select/select.ts#L377"
    },
    {
      "type": "ADVISORY",
      "url": "https://vulncheck.com/advisories/slim-select-xss"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/brianvoe/slim-select/issues/564"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}