CVE-2024-38988
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2024-38988) affects alizeait unflatto versions 1.0.2 and below, containing a prototype pollution vulnerability in the exports.unflatto method located in /dist/index.js. The vulnerability was discovered and disclosed in March 2024, impacting the Node.js module @alizeait/unflatto (NVD).

Technical details

The vulnerability exists in the exports.unflatto method where properties from the source are unsafely assigned to the destination. This prototype pollution vulnerability occurs when the built-in Object can be manipulated through special properties like proto or constructor.prototype. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high severity across confidentiality, integrity, and availability impacts (NVD, GitHub POC).

Impact

The vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) through the injection of arbitrary properties. Successful exploitation can lead to prototype pollution attacks that may escalate to denial of service, remote code execution, or cross-site scripting attacks (NVD, GitHub POC).

Mitigation and workarounds

To prevent this vulnerability, it is recommended to implement property assignment checks using hasOwnProperty or block the assignment of special property names like proto or constructor. Developers should ensure that property assignments only apply to own properties of the destination object (GitHub POC).

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-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 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