Prototype Pollution in Sails.js
Sails.js <= 1.5.2 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules(). A patch is available in the master branch of Sails.js's GItHub repository.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | sails | <= 1.5.2 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-44908
- https://github.com/balderdashy/sails/issues/7209
- https://github.com/balderdashy/sails/commit/7c5379a656bb305c958df1dcc2b51a9668830358
- https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip
- https://github.com/balderdashy/sails
- https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-1321- Platform
- npm
- Package
sails- Disclosed
- 18.03.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8v3j-jfg3-v3fv - CC BY 4.0
Vulnerability history: sails
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 02.2019 07.2023
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 2
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Prototype Pollution in Sails.js this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.