{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-31777", "ASSIGNER": "security@apache.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')", "cweId": "CWE-74" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Apache Software Foundation", "product": { "product_data": [ { "product_name": "Apache Spark", "version": { "version_data": [ { "version_value": "3.3.0", "version_affected": "=" }, { "version_value": "3.2.1 and earlier", "version_affected": "=" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q", "refsource": "MISC", "name": "https://lists.apache.org/thread/60mgbswq2lsmrxykfxpqq13ztkm2ht6q" }, { "url": "http://www.openwall.com/lists/oss-security/2022/11/01/14", "refsource": "MISC", "name": "http://www.openwall.com/lists/oss-security/2022/11/01/14" } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "source": { "defect": [ "SPARK-39505" ], "discovery": "UNKNOWN" }, "work_around": [ { "lang": "en", "value": "Upgrade to Apache Spark maintenance releases 3.2.2, or 3.3.1 or later" } ], "credits": [ { "lang": "en", "value": "Florian Walter (Veracode)" } ] }