{"schemaVersion":3,"id":"CVE-2025-31363","aliases":["GHSA-9h6j-4ffx-cm84","GO-2025-3622","CGA-h283-c2qw-3778","CGA-v8cw-x3r7-w26m"],"status":"published","duplicateOf":null,"title":null,"description":"Mattermost versions 10.4.x <= 10.4.2, 10.5.x <= 10.5.0, 9.11.x <= 9.11.9 fail to restrict domains the LLM can request to contact upstream which allows an authenticated user to exfiltrate data from an arbitrary server accessible to the victim via performing a prompt injection in the AI plugin's Jira tool.","dates":{"published":"2025-04-16T09:14:15.992Z","modified":"2025-04-16T14:33:01.674Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":3,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N","exploitability":3.3,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N","exploitability":3.3,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00288,"percentile":0.20212,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.005000000000000013,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00283},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00288,"percentile":0.20212}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00288,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00288,"percentile":0.20212}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1426","name":"Improper Validation of Generative AI Output","description":"The product invokes a generative AI/ML\n\t\t\tcomponent whose behaviors and outputs cannot be directly\n\t\t\tcontrolled, but the product does not validate or\n\t\t\tinsufficiently validates the outputs to ensure that they\n\t\t\talign with the intended security, content, or privacy\n\t\t\tpolicy.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1426.html"}],"affected":[{"vendor":"chainguard","product":"mattermost-fips-10.5","name":"mattermost-fips-10.5","label":"mattermost-fips-10.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mattermost-fips-10.5","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mattermost-fips-10.5-compat","name":"mattermost-fips-10.5-compat","label":"mattermost-fips-10.5-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mattermost-fips-10.5-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/mattermost","product":"mattermost-server","name":"github.com/mattermost/mattermost-server","label":"mattermost-server","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mattermost/mattermost-server","purlType":"golang","versions":[{"text":"≥ 10.5.0+incompatible, < 10.5.1+incompatible","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.5.0+incompatible, < 10.5.1+incompatible","eol":null,"hubHref":null},{"vendor":"github.com/mattermost/mattermost-server","product":"v5","name":"github.com/mattermost/mattermost-server/v5","label":"v5","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/mattermost/mattermost-server","product":"v6","name":"github.com/mattermost/mattermost-server/v6","label":"v6","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/mattermost/mattermost/server","product":"v8","name":"github.com/mattermost/mattermost/server/v8","label":"v8","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","purlType":"golang","versions":[{"text":"≥ 10.5.0, < 10.5.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.4.0, < 10.4.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.11.0, < 9.11.10","noFixRecorded":false,"fixedIn":null},{"text":"< 8.0.0-20250218121836-2b5275d87136","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.5.0, < 10.5.1 | ≥ 10.4.0, < 10.4.3 | ≥ 9.11.0, < 9.11.10 | < 8.0.0-20250218121836-2b5275d87136","eol":null,"hubHref":null},{"vendor":"mattermost","product":"mattermost","name":"Mattermost","label":"mattermost","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.4.0, ≤ 10.4.2","noFixRecorded":false,"fixedIn":null},{"text":"10.5.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.11.0, ≤ 9.11.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.4.0, ≤ 10.4.2 | 10.5.0 | ≥ 9.11.0, ≤ 9.11.9","eol":null,"hubHref":"/vendor/mattermost/mattermost"},{"vendor":"mattermost","product":"mattermost_server","name":"mattermost server","label":"mattermost_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.11.0, < 9.11.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.4.0, < 10.4.3","noFixRecorded":false,"fixedIn":null},{"text":"10.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.11.0, < 9.11.10 | ≥ 10.4.0, < 10.4.3 | 10.5.0","eol":{"isEol":true,"eolDate":"2025-11-15T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10.5","label":"10.5 (ESR)","eolFrom":"2025-11-15T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"10.5.14"},"product":{"name":"mattermost","label":"Mattermost","category":"server-app"}},"hubHref":"/vendor/mattermost/mattermost_server"}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://mattermost.com/security-updates","label":"mattermost.com/security-updates","hostname":"mattermost.com","tags":["WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31363","label":"nvd.nist.gov/vuln/detail/CVE-2025-31363","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mattermost/mattermost","label":"github.com/mattermost/mattermost","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3622","label":"pkg.go.dev/vuln/GO-2025-3622","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-9h6j-4ffx-cm84","label":"github.com/advisories/GHSA-9h6j-4ffx-cm84","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31363.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31363.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15017-1"],"duplicates":[],"related":["CGA-RWM6-6RP6-X58X","OPENSUSE-SU-2025:15017-1"]},"timeline":[{"kind":"published","date":"2025-04-16T09:14:15.992Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-16T14:33:01.674Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:31:14.240Z","stale":false,"partial":false}}