Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2016-10549
sailsjs sails

Score4.4 Medium
CVSS 3.0
Exploit probability (EPSS)0.62%
within the next 30 days
CategoryCross-site scripting (XSS)
Published31 May 2018
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, if a user clicks a link, opens a file or similar.

Impact is limited: reading confidential data, modifying data.

Special conditions are required for a successful attack, which makes exploitation harder.

The impact can spread beyond the vulnerable component.

Weakness type: Improper access control.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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.

CVSS: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-284 – Improper access control, CWE-79 – Cross-site scripting (XSS)

Affected products

VendorProductVersions
sailsjssails<=0.12.7

Sources

Latest in the same category

  • CVE-2026-133643 Not scored
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the doubleselect tag with the doubleMultiple attribute set, the value the tag…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-133639 Not scored
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the Javatemplates plugin, an additional attribute passed to a UI tag, that is…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-93583 High 7.6
    A stored Cross-Site Scripting (XSS) vulnerability has been identified in EV Observe before 2026.2. An authenticated user with low privileges can inject malicious JavaScript code into a user profile field. The injected…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-124264 Medium 5.3
    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in silverplugins217 Dynamic Text Field For Contact Form 7 dynamic-text-field-for-contact-form-7 allows Code Injection.This…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-79096 Not scored
    Improper neutralization of alternate XSS syntax vulnerability in Apache OpenMeetings. This issue affects Apache OpenMeetings: from 3.3.0 before 9.2.0. Apache OpenMeetings Docker: from 5.1.0 before 9.2.0. The attacker…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-134903 Medium 4.8
    baserCMS contains a cross-site scripting vulnerability in the redirection process after mail form submission, which may allow an attacker to execute arbitrary scripts in the web browser of a user who accesses a website…
    Cross-site scripting (XSS) · 30 November 2026