Sails is an MVC style framework for building realtime web applications
Published May 31, 2018
4.4
MEDIUMCVSS 3.0
EPSS 0.65%
Description
Sails is an MVC style framework for building realtime web applications. Version 0.12.7 and lower have an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible.
Affected products
-
- Version <=0.12.7StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Sails Node Module | n/a |
|
No data.
No Red Hat product state for this CVE.
sails
npm
Introduced 0 Fixed 0.12.7
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | sails | 0 | 0.12.7 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:H/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.65% (0.00646) | 49.07th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.65% (0.00646) | 45.93th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.26% (0.00264) | 47.93th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00072) | 33.14th | v3 (v2023.03.01) |
| Oct 27, 2023 | 0.07% (0.00072) | 29.98th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00069) | 27.97th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00890) | 28.64th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00890) | 26.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
References (8)
- http://sailsjs.org/documentation/concepts/security/cors x_refsource_MISCVendor Advisory
- http://sailsjs.org/documentation/reference/configuration/sails-config-cors x_refsource_MISCVendor Advisory
- https://github.com/advisories/GHSA-qmv4-jgp7-mf68 Advisory
- https://github.com/balderdashy/sails/commit/0057123a0321be6758845abbeb4290bf418ce542
- https://github.com/balderdashy/sails/releases/tag/v0.12.7
- https://nodesecurity.io/advisories/148 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10549
- https://www.npmjs.com/advisories/148
| Link | Providers | Tags |
|---|---|---|
| http://sailsjs.org/documentation/concepts/security/cors | x_refsource_MISCVendor Advisory | |
| http://sailsjs.org/documentation/reference/configuration/sails-config-cors | x_refsource_MISCVendor Advisory | |
| https://github.com/advisories/GHSA-qmv4-jgp7-mf68 | Advisory | |
| https://github.com/balderdashy/sails/commit/0057123a0321be6758845abbeb4290bf418ce542 | ||
| https://github.com/balderdashy/sails/releases/tag/v0.12.7 | ||
| https://nodesecurity.io/advisories/148 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-10549 | ||
| https://www.npmjs.com/advisories/148 |
Change history (0)
No recorded changes yet.