Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-7637 EUVD-2020-0368GHSA-6gp3-h3jj-prx4SNYK-JS-CLASSTRANSFORMER-564431

Prototype pollution in class-transformer

Published Apr 6, 2020 · Updated Aug 4, 2024 · Assigned by snyk

Description

class-transformer before 0.3.1 allow attackers to perform Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

Affected products

VendorProductAffectedFixed
— class-transformer All versions prior to version 0.3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm class-transformer < 0.3.1 0.3.1 GHSA-6gp3-h3jj-prx4

References