
Cloud Vulnerability DB
A community-led vulnerabilities database
All versions of package jsgui-lang-essentials are vulnerable to Prototype Pollution. The vulnerability was discovered and disclosed on December 13, 2021, and was assigned CVE-2022-25301. The vulnerability affects all versions of the package with no fixed version available (Snyk).
The vulnerability exists in the llset() function where the package allows all Object attributes to be altered, including magical attributes such as _proto__, constructor and prototype. This enables attackers to manipulate JavaScript application object prototypes of the base object by injecting other values. Properties on the Object.prototype are then inherited by all JavaScript objects through the prototype chain (Snyk, GitHub Issue).
The vulnerability can lead to multiple severe impacts including denial of service by triggering JavaScript exceptions, tampering with application source code to force attacker-injected code paths, and potential remote code execution. Additionally, attackers can achieve property injection by polluting properties that the codebase relies on for their informative value, including security properties such as cookies or tokens (Snyk).
Since there is no fixed version available, users should implement alternative mitigations such as freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, avoiding unsafe recursive merge functions, using objects without prototypes (Object.create(null)), or using Map instead of Object as a best practice (Snyk).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."