{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-32174",
        "assignerOrgId": "478c68dd-22c1-4a41-97cd-654224dfacff",
        "assignerShortName": "Mend",
        "datePublished": "2022-10-11T14:20:16.527225Z",
        "dateUpdated": "2024-09-16T16:47:35.539Z",
        "dateReserved": "2022-05-31T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Gogs - XSS",
            "datePublic": "2022-10-06T00:00:00",
            "providerMetadata": {
                "orgId": "478c68dd-22c1-4a41-97cd-654224dfacff",
                "shortName": "Mend",
                "dateUpdated": "2022-10-11T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover."
                }
            ],
            "affected": [
                {
                    "vendor": "gogs",
                    "product": "gogs",
                    "versions": [
                        {
                            "version": "v0.6.5",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThanOrEqual": "v0.12.10",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.mend.io/vulnerability-database/CVE-2022-32174"
                },
                {
                    "url": "https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Mend Vulnerability Research Team (MVR)"
                }
            ],
            "metrics": [
                {
                    "other": {
                        "type": "unknown",
                        "content": {
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
                            "attackComplexity": "LOW",
                            "attackVector": "NETWORK",
                            "availabilityImpact": "HIGH",
                            "confidentialityImpact": "HIGH",
                            "integrityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "scope": "CHANGED",
                            "userInteraction": "REQUIRED",
                            "version": 3.1,
                            "baseScore": 9,
                            "baseSeverity": "CRITICAL"
                        }
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "cweId": "CWE-79"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "https://www.mend.io/vulnerability-database/",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:32:55.973Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://www.mend.io/vulnerability-database/CVE-2022-32174",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}