Description
SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules().
Remediation
References
https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32
https://github.com/balderdashy/sails/issues/7209
https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip
Related Vulnerabilities
CVE-2018-20834 Vulnerability in maven package org.webjars:tar
CVE-2021-23331 Vulnerability in maven package com.squareup:connect
CVE-2022-23082 Vulnerability in maven package io.whitesource:curekit
CVE-2019-10745 Vulnerability in npm package assign-deep
CVE-2017-2649 Vulnerability in maven package org.jenkins-ci.plugins:active-directory