{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-4524",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability, which was classified as problematic, was found in Roots soil Plugin up to 4.0.x. Affected is the function language_attributes of the file src/Modules/CleanUpModule.php. The manipulation of the argument language leads to cross site scripting. It is possible to launch the attack remotely. Upgrading to version 4.1.0 is able to address this issue. The name of the patch is 0c9151e00ab047da253e5cdbfccb204dd423269d. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-215904."
            },
            {
                "lang": "deu",
                "value": "Es wurde eine Schwachstelle in Roots soil Plugin bis 4.0.x gefunden. Sie wurde als problematisch eingestuft. Betroffen hiervon ist die Funktion language_attributes der Datei src/Modules/CleanUpModule.php. Durch das Manipulieren des Arguments language mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff \u00fcber das Netzwerk. Ein Aktualisieren auf die Version 4.1.0 vermag dieses Problem zu l\u00f6sen. Der Patch wird als 0c9151e00ab047da253e5cdbfccb204dd423269d bezeichnet. Als bestm\u00f6gliche Massnahme wird das Einspielen eines Upgrades empfohlen."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79 Cross Site Scripting",
                        "cweId": "CWE-79"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Roots",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "soil Plugin",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "4.0",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/roots/soil/pull/285",
                "refsource": "MISC",
                "name": "https://github.com/roots/soil/pull/285"
            },
            {
                "url": "https://github.com/roots/soil/commit/0c9151e00ab047da253e5cdbfccb204dd423269d",
                "refsource": "MISC",
                "name": "https://github.com/roots/soil/commit/0c9151e00ab047da253e5cdbfccb204dd423269d"
            },
            {
                "url": "https://vuldb.com/?id.215904",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.215904"
            },
            {
                "url": "https://github.com/roots/soil/releases/tag/4.1.0",
                "refsource": "MISC",
                "name": "https://github.com/roots/soil/releases/tag/4.1.0"
            }
        ]
    },
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "baseScore": 3.5,
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                "baseSeverity": "LOW"
            },
            {
                "version": "3.0",
                "baseScore": 3.5,
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                "baseSeverity": "LOW"
            }
        ]
    }
}