Closed
Description
[748/873] sockjs 0.3.18 [VULNERABLE]
3 known vulnerabilities, 1 affecting installed version
CORS vulnerability
The package automatically sets the `Access-Control-Allow-Origin` header to whatever the requesting doma
in is, if any sockjs path is referenced from another domain. This enables a possible CORS attack.
The fix is a change that optionally disables the CORS headers.
Affected versions: <=0.3.18
References:
* https://github.com/sockjs/sockjs-node/issues/217
* https://github.com/sockjs/sockjs-node/pull/218
------------------------------------------------------------```