# CVE-2021-44908: Prototype Pollution in Sails.js

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.83%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-17T11:47:52.000Z
- Modified: 2026-06-17T04:12:57.203Z
- Also known as: GHSA-8v3j-jfg3-v3fv
- Weaknesses: CWE-1321
- Assigned by: mitre

## Description

SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules().

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sails (npm): up to 1.5.2
- sailsjs sails: up to 1.4.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/balderdashy/sails/issues/7209> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip> (broken-link, web)
- <https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44908> (advisory)
- <https://github.com/balderdashy/sails/commit/7c5379a656bb305c958df1dcc2b51a9668830358> (web)
- <https://github.com/balderdashy/sails> (package)

## Sources

- CVE List: [CVE-2021-44908](https://www.cve.org/CVERecord?id=CVE-2021-44908), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-8v3j-jfg3-v3fv](https://github.com/advisories/GHSA-8v3j-jfg3-v3fv), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-44908](https://nvd.nist.gov/vuln/detail/CVE-2021-44908), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44908 · Whole record: https://cve.day/CVE-2021-44908.json · Rebuilt by cve.day 2026-11-25T22:24:36.787Z
