GHSA-4qcv-qf38-5j3j

Suggest an improvement
Source
https://github.com/advisories/GHSA-4qcv-qf38-5j3j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-4qcv-qf38-5j3j/GHSA-4qcv-qf38-5j3j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4qcv-qf38-5j3j
Aliases
Related
Published
2023-07-25T18:04:28Z
Modified
2023-11-01T05:01:42.685744Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Unintentional leakage of private information via cross-origin websocket session hijacking
Details

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

Database specific
{
    "nvd_published_at": "2023-07-25T12:15:10Z",
    "cwe_ids": [
        "CWE-1385",
        "CWE-346"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-25T18:04:28Z"
}
References

Affected packages

npm / nodebb

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.1.3

npm / nodebb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.13