Affected versions
- Affected versions
- <=4.13.12
- Fixed version
- 4.14.0
Exploitation
Description
The Astra theme for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.13.12. This is due to missing sanitize_callback on the astra-color-palettes and astra-settings[global-color-palette] customizer controls, combined with insufficient CSS value sanitization that did not strip declaration-breaking characters such as semicolons and braces. This makes it possible for authenticated attackers, with shop manager-level access and above, to inject arbitrary CSS into pages by supplying crafted color values through the global color palette customizer setting, breaking out of CSS declarations and altering page appearance or injecting malicious style rules.
Links
Credits
- SavPhill (Savphill)

