{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-1421",
        "assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
        "state": "PUBLISHED",
        "assignerShortName": "Mattermost",
        "dateReserved": "2023-03-15T22:45:54.197Z",
        "datePublished": "2023-03-15T22:51:25.597Z",
        "dateUpdated": "2024-08-02T05:49:11.322Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mattermost",
                    "vendor": "Mattermost",
                    "versions": [
                        {
                            "lessThan": "7.7",
                            "status": "affected",
                            "version": "5.32.0",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.7"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "zerodivisi0n"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "A reflected cross-site scripting vulnerability in the OAuth flow completion endpoints in Mattermost allows an attacker to send AJAX requests on behalf of the victim via sharing a crafted link with a malicious state parameter."
                        }
                    ],
                    "value": "A reflected cross-site scripting vulnerability in the OAuth flow completion endpoints in Mattermost allows an attacker to send AJAX requests on behalf of the victim via sharing a crafted link with a malicious state parameter."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-63",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-63 Cross-Site Scripting (XSS)"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.5,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
                "shortName": "Mattermost",
                "dateUpdated": "2023-03-15T22:51:25.597Z"
            },
            "references": [
                {
                    "url": "https://mattermost.com/security-updates/"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "Update Mattermost to version v7.7 or higher.<br>"
                        }
                    ],
                    "value": "Update Mattermost to version v7.7 or higher.\n"
                }
            ],
            "source": {
                "advisory": "MMSA-2023-00131",
                "defect": [
                    "https://mattermost.atlassian.net/browse/MM-42334"
                ],
                "discovery": "EXTERNAL"
            },
            "title": "Reflected XSS in OAuth flow completion endpoints",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T05:49:11.322Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://mattermost.com/security-updates/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}