CVE-2021-23507
JavaScript vulnerability analysis and mitigation

Overview

The package object-path-set before version 1.0.2 contains a prototype pollution vulnerability via the setPath method, which allows an attacker to merge object prototypes into it. This vulnerability is particularly notable as it derives from an incomplete fix of a previous vulnerability (SNYK-JS-OBJECTPATHSET-607908) (NVD).

Technical details

The vulnerability exists in the setPath method implementation where input validation can be bypassed. The vulnerability has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from improper validation of array-type inputs that can be used to bypass the existing prototype pollution checks (Snyk Blog).

Impact

When successfully exploited, this vulnerability allows attackers to modify object prototypes, which can lead to denial of service (DoS) at minimum. The vulnerability affects the confidentiality, integrity, and availability of the system with high severity ratings for each (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 1.0.2 of the object-path-set package. The fix involves converting path components to strings before validation checks are performed. Users should upgrade to version 1.0.2 or later to address this vulnerability (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-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