VDB
Sign up
HIGH

GHSA-rhvc-x32h-5526

No CSRF Validation in droppy

Quick fix

GHSA-rhvc-x32h-5526 — droppy: upgrade to the fixed version with the command below.

npm install droppy@3.5.0

Details

Affected versions of `droppy` are vulnerable to cross-site socket forgery. The package does not perform verification for cross-domain websocket requests, and as a result, an attacker can create a web page that opens up a websocket connection on behalf of the user visiting the page. The attacker can then perform any action that the target user could, including adding a new admin account under their control, or deleting others.

## Recommendation

Update to version 3.5.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/droppy
Introduced in: 0Fixed in: 3.5.0
Fixnpm install droppy@3.5.0

References