ADVISORIES

GitHub Advisory Database

GHSA-8v63-cqqc-6r2c

Prototype Pollution in object-path

Details

object-path is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'). The del() function fails to validate which Object properties it deletes. This allows attackers to modify the prototype of Object, causing the modification of default properties like toString on all objects.

Affected packages

EcosystemPackageAffected versions
npmobject-path
All versions before 0.11.8 (fixed in 0.11.8)

References