{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5331","id":"CVE-2023-5331","title":"File Information Leak via IDOR in file_id in Draft Posts","description":"Mattermost fails to properly check the creator of an attached file when adding the file to a draft post, potentially exposing unauthorized file information.\n\n","descriptionLong":"Mattermost fails to properly check the creator of an attached file when adding the file to a draft post, potentially exposing unauthorized file information.\n\n","published":"2023-10-09T10:40:26.436Z","updated":"2026-10-28T02:31:09.472271515Z","reserved":"2023-10-02T11:06:18.494Z","status":"Modified","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"7.8.10","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"8.0.2","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"8.1.1","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"7.8.11"},{"status":"unaffected","version":"8.0.3"},{"status":"unaffected","version":"8.1.2"}],"platforms":[]}],"packages":[],"cwes":["CWE-862"],"aliases":["BIT-mattermost-2023-5331"],"references":[{"url":"https://mattermost.com/security-updates","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5331.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5331","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00381,"epssPercentile":0.32729,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5331","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5331","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5331","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5331","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}