{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-31133",
        "STATE": "PUBLIC",
        "TITLE": "Cross site scripting in HumHub"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "humhub",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.11.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "humhub"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "HumHub is an Open Source Enterprise Social Network. Affected versions of HumHub are vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. For exploitation, the attacker would need a permission to administer the Spaces feature. The names of individual \"spaces\" are not properly escaped and so an attacker with sufficient privilege could insert malicious javascript into a space name and exploit system users who visit that space. It is recommended that the HumHub is upgraded to 1.11.4, 1.10.5. There are no known workarounds for this issue."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/humhub/humhub/security/advisories/GHSA-p7h3-73v7-959c",
                "refsource": "CONFIRM",
                "url": "https://github.com/humhub/humhub/security/advisories/GHSA-p7h3-73v7-959c"
            },
            {
                "name": "https://github.com/humhub/humhub/commit/07d9f8f9b6334970ee38156a3416c3708d157cae",
                "refsource": "MISC",
                "url": "https://github.com/humhub/humhub/commit/07d9f8f9b6334970ee38156a3416c3708d157cae"
            },
            {
                "name": "https://github.com/humhub/humhub/commit/f88991dfe56a05870df165ac89a2755dd4c1ffa1",
                "refsource": "MISC",
                "url": "https://github.com/humhub/humhub/commit/f88991dfe56a05870df165ac89a2755dd4c1ffa1"
            },
            {
                "name": "https://huntr.dev/bounties/89d996a2-de30-4261-8e3f-98e54cb25f76",
                "refsource": "MISC",
                "url": "https://huntr.dev/bounties/89d996a2-de30-4261-8e3f-98e54cb25f76"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-p7h3-73v7-959c",
        "discovery": "UNKNOWN"
    }
}