~ / search / GHSA-6gp3-h3jj-prx4

GHSA-6gp3-h3jj-prx4

Prototype pollution in class-transformer

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-7637

Packages

EcosystemPackageAffectedFixed in
npm class-transformer < 0.3.1 0.3.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.