SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules().
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Link | Tags |
---|---|
https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip | broken link |
https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32 | third party advisory |
https://github.com/balderdashy/sails/issues/7209 | issue tracking patch exploit third party advisory |