CVE-2022-4524 Roots soil Plugin CleanUpModule.php language_attributes cross site scripting
Attackers can inject malicious scripts via the language attribute in the Roots soil plugin, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-4524?
CVE-2022-4524 is a low-severity cross-site scripting vulnerability in Roots soil Plugin, published on 15 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-4524?
2 open source packages ship an affected version, including roots/soil. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
roots/soil Packagist | All versions | 4.1.0 |
roots/soil Packagist | All versions | 4.1.0 |
Products include Roots Soil.
How do I fix CVE-2022-4524?
Upgrade roots/soil to 4.1.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-4524 being exploited?
There is no known exploitation of CVE-2022-4524 in the wild and no public exploit code.
Sources
Also known as GHSA-jw6x-4h8h-569x.