{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.6.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0da37cc540275a7500db246155a8d783b45b514e"
            },
            {
              "fixed": "4ff542b70b92a6b81cce8b9255700b0bc0817edd"
            }
          ],
          "repo": "https://github.com/algolia/algoliasearch-helper-js",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note that this vulnerability is only exploitable if the implementation allows users to define arbitrary search patterns.",
  "id": "CVE-2021-23433",
  "modified": "2026-03-13T21:51:42.680058324Z",
  "published": "2021-11-19T20:15:17.903Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291"
    },
    {
      "type": "FIX",
      "url": "https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421"
    }
  ],
  "related": [
    "SNYK-JS-ALGOLIASEARCHHELPER-1570421"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}