{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "ID": "CVE-2016-9466",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Nextcloud Server & ownCloud Server Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Nextcloud Server & ownCloud Server Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2 suffer from Reflected XSS in the Gallery application. The gallery app was not properly sanitizing exception messages from the Nextcloud/ownCloud server. Due to an endpoint where an attacker could influence the error message, this led to a reflected Cross-Site-Scripting vulnerability."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://nextcloud.com/security/advisory/?id=nc-sa-2016-009",
                "refsource": "MISC",
                "url": "https://nextcloud.com/security/advisory/?id=nc-sa-2016-009"
            },
            {
                "name": "https://github.com/nextcloud/gallery/commit/f9ef505c1d60c9041e251682e0f6b3daad952d58",
                "refsource": "MISC",
                "url": "https://github.com/nextcloud/gallery/commit/f9ef505c1d60c9041e251682e0f6b3daad952d58"
            },
            {
                "name": "https://hackerone.com/reports/165686",
                "refsource": "MISC",
                "url": "https://hackerone.com/reports/165686"
            },
            {
                "name": "https://owncloud.org/security/advisory/?id=oc-sa-2016-019",
                "refsource": "MISC",
                "url": "https://owncloud.org/security/advisory/?id=oc-sa-2016-019"
            },
            {
                "name": "https://github.com/owncloud/gallery/commit/dc4887f1afcc0cf304f4a0694075c9364298ad8a",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/gallery/commit/dc4887f1afcc0cf304f4a0694075c9364298ad8a"
            },
            {
                "name": "https://github.com/owncloud/gallery/commit/b3b3772fb9bec61ba10d357bef42b676fa474eee",
                "refsource": "MISC",
                "url": "https://github.com/owncloud/gallery/commit/b3b3772fb9bec61ba10d357bef42b676fa474eee"
            }
        ]
    }
}