{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.4.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "86c7bd4d4f9b03c6191debdf44d4b3e9c4b7efff"
            },
            {
              "fixed": "58a5c3671e2f36b26810e77ead9e0dd471902f9b"
            }
          ],
          "repo": "https://github.com/lukeed/tempura",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "This affects the package tempura before 0.4.0. If the input to the esc function is of type object (i.e an array) it is returned without being escaped/sanitized, leading to a potential Cross-Site Scripting vulnerability.",
  "id": "CVE-2021-23784",
  "modified": "2026-04-01T23:07:50.515054089Z",
  "published": "2021-11-03T18:15:08.180Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/lukeed/tempura/releases/tag/v0.4.0"
    },
    {
      "type": "FIX",
      "url": "https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9b"
    }
  ],
  "related": [
    "SNYK-JS-TEMPURA-1569633"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}