Unintentional leakage of private information via cross-origin websocket session hijacking
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | nodebb | >= 3.0.0, < 3.1.3, < 2.8.13 | 3.1.3, 2.8.13 |
References
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-4qcv-qf38-5j3j
- https://nvd.nist.gov/vuln/detail/CVE-2023-2850
- https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359
- https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf
- https://github.com/NodeBB/NodeBB/commit/a5d92da9ddac5607ab7f737520a66eaed6d3ddee
- https://github.com/NodeBB/NodeBB
- https://github.com/NodeBB/NodeBB/releases/tag/v3.1.3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N- Weakness (CWE)
CWE-1385, CWE-346- Platform
- npm
- Package
nodebb- Disclosed
- 25.07.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4qcv-qf38-5j3j - CC BY 4.0
Vulnerability history: nodebb
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 05.2019 08.2025
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 2
- Medium 7
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 3
- 2022: 5
- 2023: 2
- 2024: 1
- 2025: 2
- 2026: 0
-
Unintentional leakage of private information via cross-origin websocket session hijacking this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.