Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseGHSA-g7h8-p22m-2rvx

GHSA-g7h8-p22m-2rvx
JavaScript vulnerability analysis and mitigation

Overview

A high-severity prototype pollution vulnerability was identified in the flat-wrap npm package (GHSA-g7h8-p22m-2rvx). The vulnerability affects all versions of flat-wrap (>=0.0.0) and was published to the GitHub Advisory Database on September 4, 2020, with the latest update on January 9, 2023. The issue was initially reviewed on August 31, 2020 (GitHub Advisory).

Technical details

The vulnerability stems from the unflatten function in flat-wrap, which fails to implement proper restrictions on Object prototype modifications. This security flaw is classified under CWE-1321 and has been assigned a high severity rating. No CVE ID has been associated with this vulnerability (GitHub Advisory).

Impact

The vulnerability allows attackers to add or modify existing properties that will be present on all objects through prototype pollution. This can lead to significant security implications as it affects the fundamental behavior of JavaScript objects throughout the application (GitHub Advisory).

Exploitability

The vulnerability exists in all versions of the flat-wrap package, making it widely exploitable. The high severity rating suggests significant risk, though specific exploitation details have not been publicly disclosed (GitHub Advisory).

Mitigation and workarounds

Currently, no fix is available for this vulnerability. The recommended mitigation strategy is to use an alternative package until a security fix is released (GitHub 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-2026-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • org.opencastproject:opencast-engage-paella-player-7
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • adm-zip
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 2026

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