Path traversal and code execution via prototype vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | nodebb | >= 2.5.0, < 2.8.7 | 2.8.7 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- npm
- Package
nodebb- Disclosed
- 25.07.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vh2g-6c4x-5hmp - CC BY 4.0
Vulnerability history: nodebb
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 05.2019 08.2025
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 2
- Medium 7
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 3
- 2022: 5
- 2023: 2
- 2024: 1
- 2025: 2
- 2026: 0
-
Path traversal and code execution via prototype vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.