CVE-2022-46164
JavaScript vulnerability analysis and mitigation

Overview

NodeBB, an open source Node.js based forum software, was found to contain a critical vulnerability (CVE-2022-46164) that was disclosed on December 5, 2022. The vulnerability stems from a plain object with a prototype being used in socket.io message handling, which could allow attackers to impersonate other users and take over accounts. This security flaw affects all versions of NodeBB prior to version 2.6.1 (GitHub Advisory).

Technical details

The vulnerability received a CVSS v3.1 base score of 9.8 (Critical) from NIST and 9.4 (Critical) from GitHub. The flaw exists within the Socket.IO implementation in NodeBB, which enables socket-based communication and handles various forum functions. The vulnerability was caused by using a plain object with a prototype in socket.io message handling, allowing specially crafted payloads to bypass security restrictions (NVD, Security Online).

Impact

The vulnerability allows remote attackers to bypass security restrictions, impersonate other users, and take over accounts. The high CVSS scores indicate critical severity with potential for complete system compromise, affecting confidentiality, integrity, and availability of the system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in NodeBB version 2.6.1. Users are strongly advised to upgrade to this version or newer. For users unable to upgrade immediately, a workaround is available by cherry-picking commit 48d143921753914da45926cca6370a92ed0c46b8 into their codebase (GitHub Advisory).

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-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 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