CVE-2025-3193
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-3193 affects the algoliasearch-helper package versions from 2.0.0-rc1 to 3.11.2. The vulnerability was discovered in September 2025 and involves a Prototype Pollution issue in the _merge() function within merge.js. This security flaw allows constructor.prototype to be written even though doing so throws an error (NVD, Snyk).

Technical details

The vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) with a CVSS v3.1 base score of 7.5 (High). The issue occurs in the _merge() function where constructor.prototype can be written despite throwing an error. If this error is caught, injected code in the user-supplied search parameter may be executed. The vulnerability is particularly concerning in cases where error handling might inadvertently enable the exploitation (NVD, Red Hat).

Impact

While the severity is rated as high, it's important to note that this vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users. However, in configurations where user input can modify search parameters, successful exploitation could lead to prototype pollution and potential code execution (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade algoliasearch-helper to version 3.11.2 or higher, which includes a fix for this vulnerability. The fix prevents prototype pollution by ensuring that both 'proto' and 'constructor' properties are skipped during the merge operation (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management