CVE-2020-7637
JavaScript vulnerability analysis and mitigation

Overview

class-transformer before version 0.3.1 contains a Prototype Pollution vulnerability. The classToPlainFromExist function could be exploited by attackers to add or modify properties of Object.prototype using a proto payload. The vulnerability was discovered and disclosed on April 5, 2020 (SNYK Vuln).

Technical details

The vulnerability exists in the classToPlainFromExist function where attackers could manipulate properties of Object.prototype through a specially crafted proto payload. The vulnerability has been assigned a CVSS v3.1 base score of 4.2 (Medium), with attack vector being Network, attack complexity High, and requiring low privileges with no user interaction (SNYK Vuln).

Impact

When successfully exploited, this Prototype Pollution vulnerability could lead to denial of service by triggering JavaScript exceptions or potentially enable tampering with application source code. The attack could affect the integrity of the application by allowing modification of data, though the attacker's control over the modification consequences is limited (SNYK Vuln).

Mitigation and workarounds

The vulnerability has been fixed in class-transformer version 0.3.1. Users should upgrade to this version or higher to mitigate the risk. The fix involves adding checks to prevent processing of proto and constructor properties in the transformation process (GitHub Commit).

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-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 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