Security mailing lists by PureSourceCode

CVE-2016-10549

MEDIUM 4.4CVSS 3.0

Sails before 0.12.7 vulnerable to Broken CORS

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.

Published
31 May 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-284CWE-79
Also known as
GHSA-qmv4-jgp7-mf68
Sources
NVDJSONOSV GHSA-qmv4-jgp7-mf68JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 4.4 CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:N/AC:H/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sailsjs sails
cpe:2.3:a:sailsjs:sails:*:*:*:*:*:node.js:*:*
<= 0.12.7
OSV npm sails < 0.12.7 0.12.7

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Feb 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.