BreachSpiderVerified, not vibes

CVE-2022-36045 in Nodebb

Critical 9.8

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. `utils.generateUUID`, a helper function available in essentially all versions of NodeBB (as far back as v1.0.1 and potentially earlie...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.5%
EPSS percentile74th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nodebb Nodebb 2.0.0 < 1.19.8

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. `utils.generateUUID`, a helper function available in essentially all versions of NodeBB (as far back as v1.0.1 and potentially earlier) used a cryptographically insecure Pseudo-random number generator (`Math.random()`), which meant that a specially crafted script combined with multiple invocations of the password reset functionality could enable an attacker to correctly calculate the reset code for an account they do not have access to. This vulnerability impacts all installations of NodeBB. The vulnerability allows for an attacker to take over any account without the involvement of the victim, and as such, the remediation should be applied immediately (either via NodeBB upgrade or cherry-pick of the specific changeset. The vulnerability has been patched in version 2.x and 1.19.x. There is no known workaround, but the patch sets listed above will fully patch the vulnerability.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-36045
BreachSpider IDBS-2022-GLOBAL-066173-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-08-31
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-330: CWE-330

CWE-338: CWE-338

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-330

CAPEC-485 Signature Spoofing by Key Recreation via CWE-330

CAPEC-112 Brute Force via CWE-330

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

NodeBB Forum Software, versions up to and including v1.0.1, is vulnerable to a security issue due to the use of a cryptographically insecure pseudo-random number generator (Math.random()) in the utils.generateUUID function. This can lead to predictable UUID generation, potentially allowing attackers to predict and exploit certain functionalities.

An attacker could exploit the predictable nature of UUIDs generated by the utils.generateUUID function to perform session hijacking, account takeover, or other unauthorized actions. The vulnerability arises from the use of Math.random() instead of a cryptographically secure random number generator.

Questions

What is CVE-2022-36045?

NodeBB Forum Software, versions up to and including v1.0.1, is vulnerable to a security issue due to the use of a cryptographically insecure pseudo-random number generator (Math.random()) in the utils.generateUUID function. This can lead to predictable UUID generation, potentially allowing attackers to predict and exploit certain functionalities.

What is the CVSS score for CVE-2022-36045?

CVE-2022-36045 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.5%.

Is CVE-2022-36045 actively exploited?

No confirmed active exploitation of CVE-2022-36045 as of 2026-09-25.

How do I remediate CVE-2022-36045?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-36045?

CVE-2022-36045 affects Nodebb Nodebb.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nodebb","product":"Nodebb","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.