{"id":"CVE-2023-40020","summary":"Improper Authentication in PrivateUploader","details":"PrivateUploader is an open source image hosting server written in Vue and TypeScript. In affected versions `app/routes/v3/admin.controller.ts` did not correctly verify whether the user was an administrator (High Level) or moderator (Low Level) causing the request to continue processing. The response would be a 403 with ADMIN_ONLY, however, next() would call leading to any updates/changes in the route to process. This issue has been addressed in version 3.2.49. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n","aliases":["GHSA-vhrw-2472-rrjx"],"modified":"2026-04-02T09:18:01.535194Z","published":"2023-08-14T20:03:10.231Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40020.json","cwe_ids":["CWE-287"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40020.json"},{"type":"ADVISORY","url":"https://github.com/PrivateUploader/PrivateUploader/security/advisories/GHSA-vhrw-2472-rrjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40020"},{"type":"FIX","url":"https://github.com/PrivateUploader/PrivateUploader/commit/869657d61e3c7a518177106fe63ea483082b0d3e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flowinity/flowinity","events":[{"introduced":"0"},{"fixed":"869657d61e3c7a518177106fe63ea483082b0d3e"}]},{"type":"GIT","repo":"https://github.com/flowinity/flowinity","events":[{"introduced":"0"},{"fixed":"869657d61e3c7a518177106fe63ea483082b0d3e"}]}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"3.2.49"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40020.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H"}]}