CVE-2021-25914
JavaScript vulnerability analysis and mitigation

Overview

Prototype pollution vulnerability in 'object-collider' versions 1.0.0 through 1.0.3 was discovered and disclosed on March 1, 2021. The vulnerability affects the object-collider package and allows attackers to cause a denial of service and potentially execute remote code (NVD, Mend).

Technical details

The vulnerability exists in the collide() function which accepts four arguments. The function lacks proper validation on the values passed into the args2 argument, allowing attackers to supply malicious values by including the __proto__ property. Without validation to check whether the assigned argument is the Object's own property, properties can be directly assigned to new objects, leading to Object prototype pollution. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) and is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) (Mend).

Impact

The successful exploitation of this vulnerability can lead to denial of service conditions and potentially remote code execution. When exploited, attackers can pollute the Object prototype, causing unexpected behavior in the application by modifying properties that would affect all objects (Mend).

Exploitability

A proof of concept exploit has been published demonstrating how the vulnerability can be triggered. The exploit involves using JSON.parse to create a payload with a __proto__ property, which when processed by the vulnerable collide() function, results in prototype pollution (Mend).

Mitigation and workarounds

The recommended mitigation is to upgrade to version 1.0.4 or later, which includes a fix for this vulnerability. The fix involves adding validation to prevent __proto__ property manipulation, as demonstrated in the patch (GitHub Patch).

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-2026-73421CRITICAL9.1
  • JavaScript logoJavaScript
  • next-auth
NoYesAug 13, 2026
CVE-2026-73420CRITICAL9.1
  • JavaScript logoJavaScript
  • next-auth
NoYesAug 13, 2026
CVE-2026-73305HIGH8.8
  • JavaScript logoJavaScript
  • @budibase/server
NoNoAug 13, 2026
CVE-2026-73408HIGH7.6
  • JavaScript logoJavaScript
  • @budibase/server
NoNoAug 13, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • action_text-trix
NoYesAug 13, 2026

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