{"id":"CVE-2023-2850","published":"2023-07-25T11:13:18Z","modified":"2024-10-15T19:05:55Z","title":"NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.27372,"provenance":"source"},"cwes":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-4qcv-qf38-5j3j","tags":[]},{"url":"https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","tags":[]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v3.1.3","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":5.47},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":["< 2.8.13",">= 3.0.0, < 3.1.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-15T17:59:29.453611Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":[">=3.0.0, <3.1.3","<2.8.13"],"patched":["3.1.3","2.8.13"],"from":["GHSA-4qcv-qf38-5j3j"],"provenance":"source"}],"summary":{"text":"NodeBB contains a Cross-Site WebSocket Hijacking flaw caused by missing validation of the request origin in its WebSocket handling. An attacker who can lure a user into interacting with a malicious page over the network, without needing credentials, can extract certain user information from the victim's session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:20Z"},"euvd":{"id":"EUVD-2023-1957","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodebb-cve-2022-46164","parents":[{"from":"CVE-2022-46164","to":"CVE-2023-2850","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/socket.io/index.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2023-2850","to":"CVE-2023-30591","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/socket.io/index.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf","https://github.com/NodeBB/NodeBB/commit/37b48b82a4bc7680c6e4c42647209010cb239c2c","https://github.com/NodeBB/NodeBB/commit/830f142b7aea2e597294a84d52c05aab3a3539ca"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-3978","published":"2022-11-13","fixed":"2.5.8","kev":false},{"cve":"CVE-2022-46164","published":"2022-12-05","fixed":"2.6.1","kev":false},{"cve":"CVE-2023-26045","published":"2023-07-24","fixed":"2.8.7","kev":false,"link":{"from":"CVE-2023-26045","to":"CVE-2023-2850","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"2.8.7","toFixed":"2.8.13","daysApart":1}]}},{"cve":"CVE-2023-2850","published":"2023-07-25","fixed":"3.1.3","kev":false},{"cve":"CVE-2024-29316","published":"2024-03-28","fixed":"3.6.7","kev":false,"link":{"from":"CVE-2023-2850","to":"CVE-2024-29316","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"3.1.3","toFixed":"3.6.7","daysApart":247}]}},{"cve":"CVE-2024-57041","published":"2025-01-24","fixed":"3.11.1","kev":false}],"package":"npm:nodebb"}}