CVE-2025-3193
Last modified
CVE-2025-3193 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Algolia | Algoliasearch-Helper | >= 2.0.0, < 3.11.2 |
References
- https://github.com/algolia/algoliasearch-helper-js/issues/922Exploit, Issue Tracking, Patch
- https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-3193?
How severe is CVE-2025-3193?
How do I fix CVE-2025-3193?
Are you affected by CVE-2025-3193?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
