Skip to content

CORS Vulnerability in dependency  #266

Closed
@hbowden

Description

@hbowden
[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
------------------------------------------------------------```

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions