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.3Details
### 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
References
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-4qcv-qf38-5j3j[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-2850[ADVISORY]
- https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359[WEB]
- https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf[WEB]
- https://github.com/NodeBB/NodeBB/commit/a5d92da9ddac5607ab7f737520a66eaed6d3ddee[WEB]
- https://github.com/NodeBB/NodeBB[PACKAGE]
- https://github.com/NodeBB/NodeBB/releases/tag/v3.1.3[WEB]