{"id":"GHSA-vh2g-6c4x-5hmp","revision":"c3c3ae184faa4e7aa87c0edcb3170c65","records":[{"revision":"c3c3ae184faa4e7aa87c0edcb3170c65","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vh2g-6c4x-5hmp","aliases":["CVE-2023-26045"],"title":"Path traversal and code execution via prototype vulnerability","description":"### Impact\nDue 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.\n\n### Patches\nPatched in v2.8.7\n\n### Workarounds\nSite maintainers can cherry pick ec58700f6dff8e5b4af1544f6205ec362b593092 into their codebase to patch the exploit.","state":0,"publishedAt":"2023-07-25T13:54:13+00:00","modifiedAt":"2026-09-10T03:49:57.2565234+00:00","affected":[{"ecosystem":"npm","name":"nodebb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.5.0"},{"kind":"fixed","version":"2.8.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp","https://nvd.nist.gov/vuln/detail/CVE-2023-26045","https://github.com/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092","https://github.com/NodeBB/NodeBB","https://security.netapp.com/advisory/ntap-20230831-0004"],"sourceUrl":"https://github.com/advisories/GHSA-vh2g-6c4x-5hmp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vh2g-6c4x-5hmp","identifiers":["GHSA-vh2g-6c4x-5hmp","CVE-2023-26045"]},"retained":false,"historicalAffected":[]}],"coverage":[]}