GitHub Advisoryadvisory · npm
GHSA-529q-4j3p-7c5r algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
MEDIUM
Official page ↗
- Aliases
- CVE-2025-3193
- Ecosystem
- npm
- Packages
- algoliasearch-helper
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2025-09-30
Affected packages
• npm algoliasearch-helper: >= 2.0.0-rc1, < 3.11.2 → fixed in 3.11.2
Description
Versions of the package algoliasearch-helper from 2.0.0-rc1 and before 3.11.2 are vulnerable to Prototype Pollution in the _merge() function in merge.js, which allows constructor.prototype to be written even though doing so throws an error. In the "extreme edge-case" that the resulting error is caught, code injected into the user-supplied search parameter may be exeucted.
This is related to but distinct from the issue reported in CVE-2021-23433.
NOTE: This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.
Related
Alias · CVE (1)
- CVE-2025-3193 Versions of the package algoliasearch-helper from 2.0.0-rc1 and before 3.11.2 are vulnerable to Prototype Pollution in the _merge()… vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3193 advisory
- https://github.com/algolia/algoliasearch-helper-js/issues/922 web
- https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a web
- https://github.com/algolia/algoliasearch-helper-js package
- https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396 web