{"id":"CVE-2023-26045","published":"2023-07-24T21:08:47Z","modified":"2025-02-13T16:44:43Z","title":"NodeBB vulnerable to path traversal and code execution via prototype vulnerability","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01029,"percentile":0.6448,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230831-0004/","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":12.9},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":[">= 2.5.0, < 2.8.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-10T18:18:13.956281Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":[">=2.5.0, <2.8.7"],"patched":["2.8.7"],"from":["GHSA-vh2g-6c4x-5hmp"],"provenance":"source"}],"summary":{"text":"A path traversal flaw combined with an object destructuring issue in the user export code path of NodeBB, a Node.js forum software, lets a crafted payload make the user export logic execute arbitrary JavaScript files on the local disk. An unauthenticated remote attacker with network access can trigger this without any user interaction, and it affects versions 2.5.0 up to but not including 2.8.7.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:12Z"},"euvd":{"id":"EUVD-2023-2151","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-36045","published":"2022-08-31","fixed":"2.0.1","kev":false},{"cve":"CVE-2022-3978","published":"2022-11-13","fixed":"2.5.8","kev":false},{"cve":"CVE-2022-46164","published":"2022-12-05","fixed":"2.6.1","kev":false,"link":{"from":"CVE-2022-46164","to":"CVE-2023-26045","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"2.6.1","toFixed":"2.8.7","daysApart":231}]}},{"cve":"CVE-2023-26045","published":"2023-07-24","fixed":"2.8.7","kev":false},{"cve":"CVE-2023-2850","published":"2023-07-25","fixed":"3.1.3","kev":false,"link":{"from":"CVE-2023-26045","to":"CVE-2023-2850","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"2.8.7","toFixed":"2.8.13","daysApart":1}]}},{"cve":"CVE-2024-29316","published":"2024-03-28","fixed":"3.6.7","kev":false},{"cve":"CVE-2024-57041","published":"2025-01-24","fixed":"3.11.1","kev":false}],"package":"npm:nodebb"}}