Vulnerability 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](https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421). **NOTE:** This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Algolia | Algoliasearch-Helper | >= 2.0.0, < 3.11.2 |
Related Weaknesses (CWE)
References
- https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e0Patch
- https://github.com/algolia/algoliasearch-helper-js/issues/922ExploitIssue TrackingPatch
- https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396ExploitThird Party Advisory
FAQ
What is CVE-2025-3193?
CVE-2025-3193 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 writt...
How severe is CVE-2025-3193?
CVE-2025-3193 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-3193?
Check the references section above for vendor advisories and patch information. Affected products include: Algolia Algoliasearch-Helper.