{
    "CVE_data_meta": {
        "ASSIGNER": "productcert@siemens.com",
        "ID": "CVE-2022-40178",
        "STATE": "PUBLIC"
    },
    "data_format": "MITRE",
    "data_version": "4.0",
    "data_type": "CVE",
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Siemens",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Desigo PXM30-1",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Desigo PXM30.E",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Desigo PXM40-1",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Desigo PXM40.E",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Desigo PXM50-1",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Desigo PXM50.E",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "PXG3.W100-1",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-37"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "PXG3.W100-2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "PXG3.W200-1",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-37"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "PXG3.W200-2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V02.20.126.11-41"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability has been identified in Desigo PXM30-1 (All versions < V02.20.126.11-41), Desigo PXM30.E (All versions < V02.20.126.11-41), Desigo PXM40-1 (All versions < V02.20.126.11-41), Desigo PXM40.E (All versions < V02.20.126.11-41), Desigo PXM50-1 (All versions < V02.20.126.11-41), Desigo PXM50.E (All versions < V02.20.126.11-41), PXG3.W100-1 (All versions < V02.20.126.11-37), PXG3.W100-2 (All versions < V02.20.126.11-41), PXG3.W200-1 (All versions < V02.20.126.11-37), PXG3.W200-2 (All versions < V02.20.126.11-41). Improper Neutralization of Input During Web Page Generation exists in the \u201cImport Files\u201c functionality of the \u201cOperation\u201d web application, due to the missing validation of the titles of files included in the input package. By uploading a specifically crafted graphics package, a remote low-privileged attacker can execute arbitrary JavaScript code."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-360783.pdf",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-360783.pdf"
            }
        ]
    }
}