{"id":"CVE-2023-2797","aliases":["EUVD-2023-34253","GHSA-w6f5-pv84-q7wv"],"status":"published","title":"Path traversal in GitHub plugin's code preview feature","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.","severity":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00468,"percentile":0.40827,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74"],"published":"2023-06-16T09:03:17Z","modified":"2026-10-28T02:30:24Z","products":[{"vendor":"mattermost","product":"mattermost"},{"vendor":"mattermost","product":"mattermost github plugin"}],"references":[{"url":"https://mattermost.com/security-updates/","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2797","tags":["advisory"]},{"url":"https://mattermost.com/security-updates"},{"url":"https://github.com/advisories/GHSA-w6f5-pv84-q7wv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2797.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-2797","title":"Path traversal in GitHub plugin's code preview feature","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.\n\n\n","status":"published","published":"2023-06-16T09:03:17.656Z","modified":"2024-12-06T22:59:54.42Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:35:23.645864Z"}],"euvd":[{"id":"EUVD-2023-34253","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.\n\n\n","status":"published","published":"2023-06-16T09:03:17Z","modified":"2024-12-06T22:59:54Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T00:04:38.652605Z"}],"ghsa":[{"id":"GHSA-w6f5-pv84-q7wv","title":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private...","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.\n\n\n","status":"published","published":"2023-06-16T12:30:21Z","modified":"2024-04-04T04:54:35Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:56:28.408484Z"}],"nvd":[{"id":"CVE-2023-2797","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.\n\n\n","status":"published","published":"2023-06-16T10:15:09.337Z","modified":"2026-06-17T05:53:27.847Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:08:06.335469Z"}],"osv":[{"id":"CVE-2023-2797","title":"Path traversal in GitHub plugin's code preview feature","description":"Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.\n\n\n","status":"published","published":"2023-06-16T09:03:17.656Z","modified":"2026-10-28T02:30:24.186014412Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:44:31.135751Z"}]}}
