GitHub Advisoryadvisory · npm

GHSA-4qcv-qf38-5j3j Unintentional leakage of private information via cross-origin websocket session hijacking

MEDIUM Published 2023-07-25 Modified 2023-07-25 Official page ↗
Aliases
CVE-2023-2850
Ecosystem
npm
Packages
nodebb
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Weaknesses
CWE-1385, CWE-346
Reviewed
2023-07-25

Affected packages

• npm nodebb: >= 3.0.0, < 3.1.3 → fixed in 3.1.3 • npm nodebb: < 2.8.13 → fixed in 2.8.13

Description

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

Related

Alias · CVE (1)

  • CVE-2023-2850 NodeBB is affected by a Cross-Site WebSocket Hijacking vulnerability due to missing validation of the request origin. vulnerability

Weakness · CWE (2)

  • CWE-1385 Missing Origin Validation in WebSockets weakness
  • CWE-346 Origin Validation Error weakness

References