{"id":"CVE-2023-2850","aliases":["EUVD-2023-1957","GHSA-4qcv-qf38-5j3j"],"status":"published","title":"Unintentional leakage of private information via cross-origin websocket session hijacking","description":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. Exploitation of this vulnerability allows certain user information to be extracted by attacker.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00333,"percentile":0.26878,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1385","CWE-346"],"published":"2023-07-25T11:13:18Z","modified":"2026-10-28T02:30:40Z","fixes":[{"ecosystem":"npm","package":"nodebb","fixed_in":["3.1.3","2.8.13"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"nodebb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"nodebb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.13"}]}]},{"source":"osv","ecosystem":"npm","package":"nodebb","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.3"}]}]},{"source":"osv","ecosystem":"npm","package":"nodebb","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.13"}]}]}],"products":[{"vendor":"nodebb","product":"nodebb"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-4qcv-qf38-5j3j","tags":["x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v3.1.3","tags":["x_transferred","Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2850","tags":["advisory"]},{"url":"https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf","tags":["web"]},{"url":"https://github.com/NodeBB/NodeBB/commit/a5d92da9ddac5607ab7f737520a66eaed6d3ddee","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4qcv-qf38-5j3j"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2850.json","tags":["advisory"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-2850","description":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. Exploitation of this vulnerability allows certain user information to be extracted by attacker.","status":"published","published":"2023-07-25T11:13:18.1Z","modified":"2024-10-15T19:05:55.858Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-1385"],"updated_at":"2026-11-02T14:35:24.004321Z"}],"euvd":[{"id":"EUVD-2023-1957","description":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. Exploitation of this vulnerability allows certain user information to be extracted by attacker.","status":"published","published":"2023-07-25T11:13:18Z","modified":"2024-10-15T19:05:55Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:27:35.740934Z"}],"ghsa":[{"id":"GHSA-4qcv-qf38-5j3j","title":"Unintentional leakage of private information via cross-origin websocket session hijacking","description":"### Impact\n\nPrivate messages or posts might be leaked to third parties if victim opens the attackers site while browsing nodebb.\n\n### Patches\n\n* Patched in v3.1.3\n* Backported to v2.x line via v2.8.13\n\n### Workarounds\n\nUsers can cherry-pick https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359 if they are on v3.x\n\nIf you are running v2.x of NodeBB, you can cherry-pick a5d92da9ddac5607ab7f737520a66eaed6d3ddee followed by 62e162cf1e735e42462be1db9b4954b5a69accdf\n","status":"published","published":"2023-07-25T18:04:28Z","modified":"2023-11-10T05:01:34Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-346","CWE-1385"],"updated_at":"2026-11-02T14:37:18.40412Z"}],"nvd":[{"id":"CVE-2023-2850","description":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. Exploitation of this vulnerability allows certain user information to be extracted by attacker.","status":"published","published":"2023-07-25T12:15:10.837Z","modified":"2026-06-17T05:53:37.39Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-1385","CWE-346"],"updated_at":"2026-11-02T14:08:18.687088Z"}],"osv":[{"id":"CVE-2023-2850","description":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. Exploitation of this vulnerability allows certain user information to be extracted by attacker.","status":"published","published":"2023-07-25T11:13:18.1Z","modified":"2026-10-28T02:30:40.163753671Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-1385"],"updated_at":"2026-11-02T15:44:31.468318Z"},{"id":"GHSA-4qcv-qf38-5j3j","title":"Unintentional leakage of private information via cross-origin websocket session hijacking","description":"### Impact\n\nPrivate messages or posts might be leaked to third parties if victim opens the attackers site while browsing nodebb.\n\n### Patches\n\n* Patched in v3.1.3\n* Backported to v2.x line via v2.8.13\n\n### Workarounds\n\nUsers can cherry-pick https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359 if they are on v3.x\n\nIf you are running v2.x of NodeBB, you can cherry-pick a5d92da9ddac5607ab7f737520a66eaed6d3ddee followed by 62e162cf1e735e42462be1db9b4954b5a69accdf\n","status":"published","published":"2023-07-25T18:04:28Z","modified":"2026-07-08T06:28:02.238334662Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-1385","CWE-346"],"updated_at":"2026-11-02T15:46:37.148947Z"}]}}
