Advisory

GHSA-vh2g-6c4x-5hmp

Also known as: CVE-2023-26045

Summary

Path traversal and code execution via prototype vulnerability

Details

Impact
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.

Patches
Patched in v2.8.7

Workarounds
Site maintainers can cherry pick ec58700f6dff8e5b4af1544f6205ec362b593092 into their codebase to patch the exploit.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-07-25 13:54 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

nodebb

npm · All systems

Affected

  • introduced 2.5.0, fixed 2.8.7 (semver)

Fixed versions

2.8.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences