Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema state
Mongoose fails to check whether properties are own or inherited when hydrating, setting, and merging objects. Attackers can overwrite built-in functions and shared internal objects, leading to denial of service or schema alteration.