Vulnerabilities in pkg:npm/algoliasearch-helper
PACKAGECVE-2025-3193 is a MODERATE (CVSS 5.9) algoliasearch-helper is vulnerable to prototype vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Algoliasearch helper libraries in the npm ecosystem. The issue involves algoliasearch-helper is vulnerable to prototype pollution in _merge(). Remediation is available by upgrading affected packages to version 3.11.2.
pkg:npm/algoliasearch-helper
Vulnerability advisories affecting package pkg:npm/algoliasearch-helper. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-529q-4j3p-7c5r | CVE-2025-3193 | MODERATE | algoliasearch-helper is vulnerable to Prototype Pollution in _merge() |
| GHSA-vpf5-82c8-9v36 | CVE-2021-23433 | CRITICAL | Prototype Pollution in algoliasearch-helper |
CVE-2025-3193 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-3193
To remediate this vulnerability, upgrade all affected Algoliasearch helper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install algoliasearch-helper@3.11.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls algoliasearch-helper
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-3193, inspect your project dependencies using npm:
npm ls algoliasearch-helper
Analyze the terminal output to locate any version of Algoliasearch helper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.11.2), your application is affected.
Note: The npm ls algoliasearch-helper command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Algoliasearch helper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3193 Affected Algoliasearch helper Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
algoliasearch-helper
|
npm |
≥ 2.0.0-rc1
< 3.11.2
|
3.11.2
|
References
Frequently Asked Questions
What is CVE-2025-3193?
Which Algoliasearch helper versions are affected?
What version fixes CVE-2025-3193?
Is algoliasearch-helper affected?
What is the CVSS score of CVE-2025-3193?
What CWE is associated with CVE-2025-3193?
How can I check npm dependencies for CVE-2025-3193?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-529q-4j3p-7c5r",
"modified" : "2025-09-30T20:54:39Z",
"published" : "2025-09-27T06:30:52Z",
"aliases" : [ "CVE-2025-3193" ],
"summary" : "algoliasearch-helper is vulnerable to Prototype Pollution in _merge()",
"details" : "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.\n\nThis is related to but distinct from the issue reported in [CVE-2021-23433](https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421).\n\n**NOTE:** This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "algoliasearch-helper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-rc1"
}, {
"fixed" : "3.11.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3193"
}, {
"type" : "WEB",
"url" : "https://github.com/algolia/algoliasearch-helper-js/issues/922"
}, {
"type" : "WEB",
"url" : "https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/algolia/algoliasearch-helper-js"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-30T20:54:39Z",
"nvd_published_at" : "2025-09-27T05:15:30Z"
}
}