Live threats

All CVEs / Sailsjs

CVE-2018-21036Sailsjs Sails

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jul 21, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Sails.js before v1.0.0-46 allows attackers to cause a denial of service with a single request because there is no error handler in sails-hook-sockets to handle an empty pathname in a WebSocket request.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm sails-hook-sockets < 1.5.5 1.5.5 npm install sails-hook-sockets@1.5.5

Per OSV / GitHub Advisories (GHSA-f7f4-hqp2-7prc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sailsjssails< 1.0.0-46

Official sources

References

Links published by the sources. Open them with care.