VDB
Sign up
MEDIUM4.7

GHSA-4qcv-qf38-5j3j

Unintentional leakage of private information via cross-origin websocket session hijacking

Quick fix

GHSA-4qcv-qf38-5j3j — nodebb: upgrade to the fixed version with the command below.

npm install nodebb@3.1.3

Details

### Impact

Private messages or posts might be leaked to third parties if victim opens the attackers site while browsing nodebb.

### Patches

* Patched in v3.1.3 * Backported to v2.x line via v2.8.13

### Workarounds

Users can cherry-pick https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359 if they are on v3.x

If you are running v2.x of NodeBB, you can cherry-pick a5d92da9ddac5607ab7f737520a66eaed6d3ddee followed by 62e162cf1e735e42462be1db9b4954b5a69accdf

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/nodebb
Introduced in: 3.0.0Fixed in: 3.1.3
Fixnpm install nodebb@3.1.3
npm/nodebb
Introduced in: 0Fixed in: 2.8.13
Fixnpm install nodebb@2.8.13

References