{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-41132",
        "STATE": "PUBLIC",
        "TITLE": "Inconsistent input sanitisation leads to XSS vectors"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "omero-web",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 5.11.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "ome"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "OMERO.web provides a web based client and plugin infrastructure. In versions prior to 5.11.0, a variety of templates do not perform proper sanitization through HTML escaping. Due to the lack of sanitization and use of ``jQuery.html()``, there are a whole host of cross-site scripting possibilities with specially crafted input to a variety of fields. This issue is patched in version 5.11.0. There are no known workarounds aside from upgrading."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-116: Improper Encoding or Escaping of Output"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf",
                "refsource": "CONFIRM",
                "url": "https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf"
            },
            {
                "name": "https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424",
                "refsource": "MISC",
                "url": "https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424"
            },
            {
                "name": "https://www.openmicroscopy.org/security/advisories/2021-SV3/",
                "refsource": "MISC",
                "url": "https://www.openmicroscopy.org/security/advisories/2021-SV3/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-g67g-hvc3-xmvf",
        "discovery": "UNKNOWN"
    }
}