{"id":"CVE-2022-36076","aliases":["GHSA-xmgg-fx9p-prq6"],"url":"https://o3.security/vulnerability/CVE-2022-36076","summary":"Account takeover via SSO plugins in NodeBB","details":"_This is a historical security advisory, pertaining to a vulnerability that was reported, patched, and published in 2021. It is listed here for completeness and for CVE tracking purposes._\n\n### Impact\nDue to an unnecessarily strict conditional in the code handling the first step of the SSO process, the pre-existing logic that added (and later checked) a nonce was inadvertently rendered opt-in instead of opt-out.\n\nThis re-exposed a vulnerability in that a specially crafted MITM attack could theoretically take over another user account during the single sign-on process.\n\n### Patches\nThe issue has been fully patched as of v1.17.2.\n\nThe patch commit can be found at https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4\n\n### Workarounds\nSite maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4 into their codebase to patch the exploit.\n\n### References\n* https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Discuss it on [our community forum](community.nodebb.org/)\n* Email us at [support@nodebb.org](mailto:support@nodebb.org)\n","published":"2022-09-02T12:30:14Z","modified":"2026-08-12T03:51:14.398237381Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"nodebb","fixedVersion":"1.17.2"}],"fix":{"url":"https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4","label":"NodeBB/NodeBB@a2400f6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36076.json"},{"type":"ADVISORY","url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-xmgg-fx9p-prq6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36076"},{"type":"FIX","url":"https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4"},{"type":"ARTICLE","url":"https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day/"},{"type":"WEB","url":"https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day"},{"type":"PACKAGE","url":"https://github.com/NodeBB/NodeBB"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.398237381Z"}}