CVE-2021-23558
JavaScript vulnerability analysis and mitigation

Overview

The bmoor package before version 0.10.1 contains a Prototype Pollution vulnerability (CVE-2021-23558). This vulnerability is due to missing sanitization in the set function, which allows attackers to inject properties into existing JavaScript language construct prototypes. The issue derives from an incomplete fix of a previous vulnerability (CVE-2020-7736) (Snyk DB).

Technical details

The vulnerability exists in the set function where there is insufficient sanitization of array inputs. An attacker can bypass the protection by wrapping dangerous keys (like proto) in an array with just one element. When using bracket notation to access object properties, any key type can be used, and the === operator returns false if the operand types are different. This allows bypassing checks that compare against string values (Snyk Blog).

Impact

A successful exploitation of this vulnerability could lead to Prototype Pollution, which can result in denial of service by triggering JavaScript exceptions or potentially lead to remote code execution by tampering with the application source code. The vulnerability has a CVSS score of 7.3 (High) (Snyk DB).

Mitigation and workarounds

The vulnerability was fixed in version 0.10.1 by converting path components to strings before performing security checks. Users should upgrade to version 0.10.1 or higher to address this vulnerability (Snyk DB).

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-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 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