VYPR
High severityNVD Advisory· Published Mar 6, 2023· Updated Mar 5, 2025

CVE-2023-26106

CVE-2023-26106

Description

The dot-lens npm package is vulnerable to Prototype Pollution via its set() function, allowing attackers to inject properties into Object.prototype, potentially leading to denial of service or remote code execution.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

The dot-lens npm package is vulnerable to Prototype Pollution via its set() function, allowing attackers to inject properties into Object.prototype, potentially leading to denial of service or remote code execution.

The dot-lens package, a fast dot-notation lens for JavaScript objects, is vulnerable to Prototype Pollution through its set() function in index.js. The function allows setting nested properties but does not properly validate keys such as __proto__, constructor, or prototype, enabling an attacker to pollute the Object prototype [1][3].

To exploit this vulnerability, an attacker must control the path argument passed to set(), often via user input. By crafting a path like __proto__.polluted, the set() function recursively assigns values to Object.prototype, causing all objects to inherit the polluted property [2].

Successful exploitation can result in denial of service by triggering JavaScript exceptions or, depending on application logic, lead to remote code execution through property definition by path [2]. The ability to alter the prototype chain can change application behavior in unintended ways.

As of March 2023, no patch is available for this vulnerability [1]. Users are advised to avoid passing untrusted input to the set() function, or to use alternative libraries with proper validation to prevent Prototype Pollution [2][4].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
dot-lensnpm
<= 1.2.3

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.