algoliasearch-helper
Affected
- introduced
2.0.0-rc1, fixed3.11.2(semver)
Fixed versions
3.11.2
Fix
- Fixed version
3.11.2npm install [email protected]
Advisory
Also known as: CVE-2025-3193
algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
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.
Medium Basis: The source's own band: MODERATE
2.0.0-rc1, fixed 3.11.2 (semver)3.11.2
3.11.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0