{"api_version":"1","generated_at":"2026-07-23T12:08:50+00:00","cve":"CVE-2023-2797","urls":{"html":"https://cve.report/CVE-2023-2797","api":"https://cve.report/api/cve/CVE-2023-2797.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-2797","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2797"},"summary":{"title":"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.","state":"PUBLIC","assigner":"responsibledisclosure@mattermost.com","published_at":"2023-06-16 10:15:00","updated_at":"2023-06-26 17:45:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://mattermost.com/security-updates/","name":"https://mattermost.com/security-updates/","refsource":"MISC","tags":[],"title":"Security Updates - Mattermost Open Source Collaboration Platform","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2797","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2797","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"2797","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mattermost","cpe5":"mattermost","cpe6":"7.10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2797","vulnerable":"1","versionEndIncluding":"7.1.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mattermost","cpe5":"mattermost","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2797","vulnerable":"1","versionEndIncluding":"7.8.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mattermost","cpe5":"mattermost","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-2797","ASSIGNER":"responsibledisclosure@mattermost.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","cweId":"CWE-74"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Mattermost","product":{"product_data":[{"product_name":"Mattermost Github Plugin","version":{"version_data":[{"version_value":"not down converted","x_cve_json_5_version_data":{"versions":[{"lessThanOrEqual":"7.1.9","status":"affected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.8.4","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"7.1.10"},{"status":"unaffected","version":"7.8.5"},{"status":"affected","version":"7.10.0"},{"status":"unaffected","version":"7.10.1"}],"defaultStatus":"unaffected"}}]}}]}}]}},"references":{"reference_data":[{"url":"https://mattermost.com/security-updates/","refsource":"MISC","name":"https://mattermost.com/security-updates/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"advisory":"MMSA-2023-00183","defect":["https://mattermost.atlassian.net/browse/MM-51244"],"discovery":"INTERNAL"},"solution":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Update Mattermost to version v7.1.10, v7.8.5, v7.10.1 or higher.<br>"}],"value":"Update Mattermost to version v7.1.10, v7.8.5, v7.10.1 or higher.\n"}],"credits":[{"lang":"en","value":"Juho Nurminen"}],"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-16 10:15:00","lastModifiedDate":"2023-06-26 17:45:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","versionStartIncluding":"7.8.0","versionEndIncluding":"7.8.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.0","versionEndIncluding":"7.1.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mattermost:mattermost:7.10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}