CVE-2025-3193 algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
HighCVSS 7.5
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
NOTE: This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| algoliasearch-helper | >= 2.0.0, < 3.11.2 | 3.11.2 | Fixed |
| npm algoliasearch-helper(npm) | >= 2.0.0-rc1, < 3.11.2 | 3.11.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm algoliasearch-helper(npm) | >= 2.0.0-rc1, < 3.11.2 | 3.11.2 |
| algoliasearch-helper | >= 2.0.0, < 3.11.2 | 3.11.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch
- github.com patch
- security.snyk.io exploit third-party-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2025-31407 third-party-advisory