Vulnerabilities/

Prototype poisoning

Severity:
Medium

Description

The issue is as follows: when msgpack5 decodes a map containing a key "__proto__", it assigns the decoded value to __proto__. As you are no doubt aware, Object.prototype.__proto__ is an accessor property for the receiver’s prototype.

Recommendation

Update the msgpack5 package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
msgpack5
Anything's wrong? Let us know Last updated on January 29, 2023

This issue is available in SmartScanner Professional

See Pricing