Broken CORS Affecting sails package, versions <0.12.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Broken CORS vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:sails:20161013
  • published20 Oct 2016
  • disclosed13 Oct 2016
  • creditEvan Johnson

Introduced: 13 Oct 2016

CVE-2016-10549  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade sails to version 0.12.7 or higher.

Overview

sails is API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io).

Sails version 0.12.6 and lower allowed the default CORS settings to be very permissive, letting the attacker to bypass the Same Origin Policy.

CVSS Scores

version 3.1