1 matches found
Mongoose Walks Into Inherited Properties When Hydrating, Setting, And Merging, Allowing Overwrites Of Built-in Functions
Summary Three Mongoose code paths copy data into objects by property name without checking whether the property is the object's own or inherited from its prototype: 1. Loading a document from the database "init", also used by "Model.hydrate" 2. Setting a dotted path on a document "$set", used by...
8.2CVSS6.2AI score0.00776EPSS
SaveExploits0Affected Software1
20