NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-3193: algoliasearch-helper is vulnerable to Prototype Pollution in _merge()

mediumCVSS 3.1 5.9GHSA-529q-4j3p-7c5r

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.

Published Sep 27, 2025 · Updated Sep 30, 2025

Affected packages

algoliasearch-helper

Ecosystem
npm
Affected
>= 2.0.0-rc1, < 3.11.2
Fixed in
3.11.2
Check
npm ls algoliasearch-helper

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology