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

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-27T05:00:07.140Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-529q-4j3p-7c5r
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

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

(As written by CVE List.)

## Affected

- algoliasearch-helper: from 2.0.0-rc1 before 3.11.2
- algoliasearch-helper (npm): from 2.0.0-rc1 before 3.11.2
- algolia algoliasearch-helper: from 2.0.0 before 3.11.2

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396> (exploit, third-party-advisory, web)
- <https://github.com/algolia/algoliasearch-helper-js/issues/922> (exploit, issue-tracking, patch, web)
- <https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3193> (advisory)
- <https://github.com/algolia/algoliasearch-helper-js> (package)

## Sources

- CVE List: [CVE-2025-3193](https://www.cve.org/CVERecord?id=CVE-2025-3193), CVE Terms of Use, modified 2026-08-08
- GitHub Advisory Database: [GHSA-529q-4j3p-7c5r](https://github.com/advisories/GHSA-529q-4j3p-7c5r), CC-BY-4.0, modified 2025-09-30
- NVD: [CVE-2025-3193](https://nvd.nist.gov/vuln/detail/CVE-2025-3193), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-3193 · Whole record: https://cve.day/CVE-2025-3193.json · Rebuilt by cve.day 2026-11-25T22:59:05.267Z
