CVE-2022-25301
JavaScript vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

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-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 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