Advisory

GHSA-529q-4j3p-7c5r

Also known as: CVE-2025-3193

Summary

algoliasearch-helper is vulnerable to Prototype Pollution in _merge()

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-09-27 06:30 UTC
Modified
2025-09-30 21:27 UTC

Affected packages and fixes

algoliasearch-helper

npm · All systems

Affected

  • introduced 2.0.0-rc1, fixed 3.11.2 (semver)

Fixed versions

3.11.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences