Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. algoliasearch-helper
  4. ›
  5. CVE-2025-3193

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

September 27, 2025 (updated September 30, 2025)

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

  • github.com/advisories/GHSA-529q-4j3p-7c5r
  • github.com/algolia/algoliasearch-helper-js
  • github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a
  • github.com/algolia/algoliasearch-helper-js/issues/922
  • nvd.nist.gov/vuln/detail/CVE-2025-3193
  • security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396

Code Behaviors & Features

Detect and mitigate CVE-2025-3193 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0-rc1 before 3.11.2

Fixed versions

  • 3.11.2

Solution

Upgrade to version 3.11.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/algoliasearch-helper/CVE-2025-3193.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 01 Oct 2025 12:19:54 +0000.