{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-39301",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "dateUpdated": "2024-08-03T12:00:44.045Z",
        "dateReserved": "2022-09-02T00:00:00",
        "datePublished": "2022-10-19T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "sra-admin is vulnerable to storage cross-site scripting (XSS) via unrestricted file upload",
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2022-10-19T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "sra-admin is a background rights management system that separates the front and back end. sra-admin version 1.1.1 has a storage cross-site scripting (XSS) vulnerability. After logging into the sra-admin background, an attacker can upload an html page containing xss attack code in \"Personal Center\" - \"Profile Picture Upload\" allowing theft of the user's personal information. This issue has been patched in 1.1.2. There are no known workarounds."
                }
            ],
            "affected": [
                {
                    "vendor": "momofoolish",
                    "product": "sra-admin",
                    "versions": [
                        {
                            "version": "< 1.1.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/momofoolish/sra-admin/security/advisories/GHSA-v7r9-qx74-h3v8"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "LOW",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
                            "cweId": "CWE-80"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-434: Unrestricted Upload of File with Dangerous Type",
                            "cweId": "CWE-434"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "GHSA-v7r9-qx74-h3v8",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T12:00:44.045Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/momofoolish/sra-admin/security/advisories/GHSA-v7r9-qx74-h3v8",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}