{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2021-3780",
        "STATE": "PUBLIC",
        "TITLE": "Cross-site Scripting (XSS) - Stored in chocobozzz/peertube"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "chocobozzz/peertube",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_value": "3.4.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "chocobozzz"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "peertube is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L",
            "version": "3.0"
        }
    },
    "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://huntr.dev/bounties/282807a8-4bf5-4fe2-af62-e05f945b3d65",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/282807a8-4bf5-4fe2-af62-e05f945b3d65"
            },
            {
                "name": "https://github.com/chocobozzz/peertube/commit/0ea2f79d45b301fcd660efc894469a99b2239bf6",
                "refsource": "MISC",
                "url": "https://github.com/chocobozzz/peertube/commit/0ea2f79d45b301fcd660efc894469a99b2239bf6"
            }
        ]
    },
    "source": {
        "advisory": "282807a8-4bf5-4fe2-af62-e05f945b3d65",
        "discovery": "EXTERNAL"
    }
}
