CVE-2022-36076
JavaScript vulnerability analysis and mitigation

Overview

NodeBB Forum Software, powered by Node.js with support for Redis, MongoDB, or PostgreSQL databases, was found to contain a critical vulnerability (CVE-2022-36076) in its Single Sign-On (SSO) process. The vulnerability was discovered in 2021 and officially disclosed on September 2, 2022. Due to an unnecessarily strict conditional in the code handling the first step of the SSO process, the pre-existing nonce checking logic was inadvertently rendered opt-in instead of opt-out (Opera Security, GitHub Advisory).

Technical details

The vulnerability stems from a code logic flaw in the SSO authentication process where the nonce validation was incorrectly implemented. The issue was introduced when the code was refactored in early 2021, making it possible for an attacker to perform a Man-in-the-Middle (MITM) attack during the single sign-on process. The vulnerability was assigned a High severity rating and is tracked as CWE-352 (Cross-Site Request Forgery) (GitHub Advisory).

Impact

The vulnerability could allow an attacker to perform account takeover through a specially crafted MITM attack during the single sign-on process. This could potentially lead to unauthorized access to user accounts, including administrator accounts, without the victim's knowledge or interaction (Opera Security).

Mitigation and workarounds

The vulnerability was fully patched in NodeBB version 1.17.2. Site maintainers can either upgrade to this version or cherry-pick the specific patch commit (a2400f6) into their codebase to remediate the vulnerability (GitHub Advisory).

Community reactions

The vulnerability was initially discovered through Opera's bug bounty program by researcher Mar0uane. Both Opera and NodeBB rewarded the researcher for the discovery. Notably, this vulnerability was a rediscovery of an issue previously reported in June 2018 that had been accidentally reintroduced during code refactoring (Opera Security).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22787HIGH8.7
  • JavaScriptJavaScript
  • html2pdf.js
NoYesJan 14, 2026
CVE-2026-22820MEDIUM6.3
  • JavaScriptJavaScript
  • outray
NoYesJan 14, 2026
CVE-2026-22819MEDIUM5.9
  • JavaScriptJavaScript
  • outray
NoYesJan 14, 2026
CVE-2026-22036LOW3.7
  • JavaScriptJavaScript
  • node-undici
NoYesJan 14, 2026
GHSA-73rr-hh4g-fpgxLOWN/A
  • JavaScriptJavaScript
  • diff
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management