CVE-2025-3193
Algoliasearch-helper Prototype Pollution
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.
INFO
Published Date :
Sept. 27, 2025, 5:15 a.m.
Last Modified :
Oct. 5, 2025, 12:15 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the algoliasearch-helper package to a non-vulnerable version.
- Ensure user-supplied search parameters are validated.
- Review error handling for unexpected conditions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-3193
.
URL | Resource |
---|---|
https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a | Patch |
https://github.com/algolia/algoliasearch-helper-js/issues/922 | Exploit Issue Tracking Patch |
https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-3193
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-3193
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-3193
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-3193
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Oct. 05, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Removed CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H -
Initial Analysis by [email protected]
Oct. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:algolia:algoliasearch-helper:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 3.11.2 Added Reference Type Snyk: https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a Types: Patch Added Reference Type Snyk: https://github.com/algolia/algoliasearch-helper-js/issues/922 Types: Exploit, Issue Tracking, Patch Added Reference Type Snyk: https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 29, 2025
Action Type Old Value New Value Added CWE CWE-1321 -
New CVE Received by [email protected]
Sep. 27, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-1321 Added Reference https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a Added Reference https://github.com/algolia/algoliasearch-helper-js/issues/922 Added Reference https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396