CVE-2023-26139
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-26139 affects the underscore-keypath package versions from 0.0.11 onwards. The vulnerability was discovered and disclosed on April 10, 2023, and published on July 31, 2023. This vulnerability allows Prototype Pollution through the name argument of the setProperty() function, affecting applications using the underscore-keypath library, which provides key-path mechanism extensions for underscore to access JavaScript objects and arrays (Snyk Advisory, NVD).

Technical details

The vulnerability exists in the setProperty() function within underscore-keypath.js. The function fails to properly sanitize input, allowing arguments like 'proto' to be processed. The vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes). It has received a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Snyk Advisory).

Impact

When exploited, this vulnerability can lead to Prototype Pollution, which allows attackers to inject properties into existing JavaScript language construct prototypes. This can result in denial of service by triggering JavaScript exceptions or potentially lead to remote code execution by tampering with the application source code (Snyk Advisory).

Mitigation and workarounds

Currently, there is no fixed version available for underscore-keypath. Recommended mitigations include freezing the prototype using Object.freeze(Object.prototype), implementing schema validation for JSON input, avoiding unsafe recursive merge functions, and considering the use of objects without prototypes or using Map instead of Object (Snyk Advisory).

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-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 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