{"id":"CVE-2024-40886","published":"2024-08-22T06:32:11Z","modified":"2024-08-22T13:14:08Z","title":"One-click Client-Side Path Traversal Leading to CSRF in User Management admin page","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 9.8.2 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in User Management page of the system console.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.16889,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":3.38},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 9.9.0, <= 9.9.1",">= 9.5.0, <= 9.5.7","9.10.0",">= 9.8.0, <= 9.8.2"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.11.0","9.9.2","9.5.8","9.10.1","9.8.3"]}],"solutions":{"items":["Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-22T13:13:52.990685Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=9.9.0, <9.9.2",">=9.5.0, <9.5.8",">=9.10.0, <9.10.1",">=9.8.0, <9.8.3","all versions"],"patched":["9.9.2","9.5.8","9.10.1","9.8.3"],"from":["GHSA-hrf9-rm95-fpf3","GO-2024-3097"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=9.5.0+incompatible, <9.5.8+incompatible",">=9.8.0+incompatible, <9.8.3+incompatible",">=9.9.0+incompatible, <9.9.2+incompatible",">=9.10.0+incompatible, <9.10.1+incompatible"],"patched":["9.5.8+incompatible","9.8.3+incompatible","9.9.2+incompatible","9.10.1+incompatible"],"from":["GO-2024-3097"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3097"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3097"],"provenance":"source"}],"summary":{"text":"Mattermost's frontend fails to sanitize user-supplied input used for redirection in the User Management page of the System Console, enabling client-side path traversal that leads to cross-site request forgery. An attacker can exploit this over the network with low-privilege authenticated access and requires the victim to take one click, after which the forged request runs in the context of the victim's session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:17Z"},"euvd":{"id":"EUVD-2024-2599","exploited":false,"provenance":"source"}}