CVE-2023-26045
CRITICAL10.0EPSS 0.51%Path traversal and code execution via prototype vulnerability
Published: 7/25/2023Modified: 11/8/2023
Description
### Impact Due to the use of the [object destructuring assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/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 packages (1)
- npm/nodebb>= 2.5.0, < 2.8.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-26045
- PATCHhttps://github.com/NodeBB/NodeBB
- WEBhttps://github.com/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092
- WEBhttps://github.com/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp
- WEBhttps://security.netapp.com/advisory/ntap-20230831-0004