{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-21650",
        "STATE": "PUBLIC",
        "TITLE": "Stored XSS via html file upload in convos"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "convos",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">= 6.48, < 6.52"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "convos-chat"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Convos is an open source multi-user chat that runs in a web browser. You can't use SVG extension in Convos' chat window, but you can upload a file with an .html extension. By uploading an SVG file with an html extension the upload filter can be bypassed. This causes Stored XSS. Also, after uploading a file the XSS attack is triggered upon a user viewing the file. Through this vulnerability, an attacker is capable to execute malicious scripts. Users are advised to update as soon as possible."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N",
            "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://blog.pocas.kr/2021/12/30/2021-12-30-s-xss-convos-chat/#First-vulnerability",
                "refsource": "MISC",
                "url": "https://blog.pocas.kr/2021/12/30/2021-12-30-s-xss-convos-chat/#First-vulnerability"
            },
            {
                "name": "https://github.com/convos-chat/convos/commit/5c0a1ec9a2c147bc3b63fd5a48da5f32e18fe5df",
                "refsource": "MISC",
                "url": "https://github.com/convos-chat/convos/commit/5c0a1ec9a2c147bc3b63fd5a48da5f32e18fe5df"
            },
            {
                "name": "https://www.huntr.dev/bounties/ae424798-de01-4972-b73b-2db674f82368/",
                "refsource": "MISC",
                "url": "https://www.huntr.dev/bounties/ae424798-de01-4972-b73b-2db674f82368/"
            },
            {
                "name": "https://github.com/convos-chat/convos/security/advisories/GHSA-mm2v-4v7g-m695",
                "refsource": "CONFIRM",
                "url": "https://github.com/convos-chat/convos/security/advisories/GHSA-mm2v-4v7g-m695"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-mm2v-4v7g-m695",
        "discovery": "UNKNOWN"
    }
}