All reports
Medium

Prototype pollution in class-transformer

Affected versions

Affected versions
< 0.3.1
Fixed version
0.3.1

Exploitation

CVE-2020-7637

Probability of exploitation in the next 30 days: 1.19%

FIRST EPSS · 2026-11-21

Description

class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a 'proto' payload.

Links