{"id":"CVE-2021-23433","aliases":["CVE-2021-23433","GHSA-vpf5-82c8-9v36","SNYK-JS-ALGOLIASEARCHHELPER-1570421"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El paquete algoliasearch-helper versiones anteriores a 3.6.2, es vulnerable a una contaminación de prototipos debido al uso de la función merge en el archivo src/SearchParameters/index.jsSearchParameters._parseNumbers sin ninguna protección contra las propiedades del prototipo. Tenga en cuenta que esta vulnerabilidad sólo es explotable si la implementación permite a usuarios definir patrones de búsqueda arbitrarios","source":"nvd"}],"published":"2021-11-19T19:25:12.337Z","modified":"2026-09-10T03:49:16.257Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-915","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.6.2","status":"affected"}],"product":"algoliasearch-helper","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.2"}],"ecosystem":"npm","package":"algoliasearch-helper","purl":"pkg:npm/algoliasearch-helper","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.6.2"}],"vendor":"algolia","product":"algoliasearch-helper","cpe":"cpe:2.3:a:algolia:algoliasearch-helper:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23433","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/algolia/algoliasearch-helper-js","tags":["package"],"sources":["ghsa"]}],"credits":["Divyesh Prajapati"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23433","url":"https://www.cve.org/CVERecord?id=CVE-2021-23433","licence":"CVE Terms of Use","modified":"2024-09-16T19:45:53.608Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vpf5-82c8-9v36","url":"https://github.com/advisories/GHSA-vpf5-82c8-9v36","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:16.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23433","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23433","licence":"Public domain","modified":"2026-06-17T03:38:45.270Z"}],"updatedAt":"2026-11-25T22:58:05.686Z","epss":{"score":0.01947,"percentile":0.80813,"date":"2026-12-01T12:00:22.000Z"}}