Prototype pollution in class-transformer
Moderate severity
GitHub Reviewed
Published
Apr 7, 2020
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Apr 6, 2020
Reviewed
Apr 7, 2020
Published to the GitHub Advisory Database
Apr 7, 2020
Last updated
Jan 27, 2023
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