{"id":"CVE-2023-2850","aliases":["CVE-2023-2850","GHSA-4qcv-qf38-5j3j"],"related":[],"kind":"vulnerability","state":"published","title":"Unintentional leakage of private information via cross-origin websocket session hijacking","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2023-07-25T11:13:18.100Z","modified":"2026-07-08T06:28:02.238Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-346","CWE-1385"],"affected":[{"ranges":[{"version":"< 2.8.13","status":"affected"},{"version":">= 3.0.0, < 3.1.3","status":"affected"}],"vendor":"NodeBB","product":"NodeBB","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.1.3"}],"ecosystem":"npm","package":"nodebb","purl":"pkg:npm/nodebb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.13"}],"ecosystem":"npm","package":"nodebb","purl":"pkg:npm/nodebb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.8.13"},{"status":"affected","introduced":"3.0.0","fixed":"3.1.3"}],"vendor":"nodebb","product":"nodebb","cpe":"cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-4qcv-qf38-5j3j","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v3.1.3","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2850","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB/commit/a5d92da9ddac5607ab7f737520a66eaed6d3ddee","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"],"sources":["ghsa"]}],"credits":["Elliot Ward, Snyk"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-15T17:59:29.453Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2850","url":"https://www.cve.org/CVERecord?id=CVE-2023-2850","licence":"CVE Terms of Use","modified":"2024-10-15T19:05:55.858Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4qcv-qf38-5j3j","url":"https://github.com/advisories/GHSA-4qcv-qf38-5j3j","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:02.238Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2850","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2850","licence":"Public domain","modified":"2026-06-17T05:53:37.390Z"}],"updatedAt":"2026-11-25T22:58:26.472Z","epss":{"score":0.00333,"percentile":0.28592,"date":"2026-12-02T12:00:21.000Z"}}