Vulnerability · Published Jul 24, 2023 · Assigned by GitHub_M

CVE-2023-26045NodeBB vulnerable to path traversal and code execution via prototype vulnerability

Critical 10.0

In plain English

A critical-severity path traversal in NodeBB from NodeBB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.0%top 36.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

NodeBB is Node.js based forum software. Starting in version 2.5.0 and prior to version 2.8.7, due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk. This issue is patched in version 2.8.7. As a workaround, site maintainers can cherry pick the fix into their codebase to patch the exploit.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnodebb2.8.7GHSA-vh2g-6c4x-5hmp

Affected products (as reported)

VendorProductVersions
NodeBB NodeBB >= 2.5.0, < 2.8.7

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References