# CVE-2022-4524: Roots soil Plugin CleanUpModule.php language_attributes cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2022-12-15T00:00:00.000Z
- Modified: 2026-06-17T05:21:06.360Z
- Also known as: GHSA-jw6x-4h8h-569x
- Weaknesses: CWE-79
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- Roots soil Plugin: 4.0
- roots/soil (Packagist): before 4.1.0
- roots soil: before 4.1.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vuldb.com/?id.215904> (technical-description, third-party-advisory, vdb-entry, web)
- <https://github.com/roots/soil/pull/285> (patch, related, web)
- <https://github.com/roots/soil/commit/0c9151e00ab047da253e5cdbfccb204dd423269d> (mitigation, patch, web)
- <https://github.com/roots/soil/releases/tag/4.1.0> (mitigation, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4524> (advisory)
- <https://github.com/roots/soil> (package)
- <https://github.com/roots/soil/releases/tag/4.1.1> (web)

## Sources

- CVE List: [CVE-2022-4524](https://www.cve.org/CVERecord?id=CVE-2022-4524), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jw6x-4h8h-569x](https://github.com/advisories/GHSA-jw6x-4h8h-569x), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-4524](https://nvd.nist.gov/vuln/detail/CVE-2022-4524), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4524 · Whole record: https://cve.day/CVE-2022-4524.json · Rebuilt by cve.day 2026-11-25T22:58:17.585Z
