What’s Vulnerable › Vulnerabilities
CVE-2019-25217: SiteGround Optimizer <= 5.0.12 - Missing Authorization
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-16 · updated 2026-06-17
- Weakness: CWE-862
Description
The SiteGround Optimizer plugin for WordPress is vulnerable to authorization bypass leading to Remote Code Execution and Local File Inclusion in versions up to, and including, 5.0.12 due to incorrect use of an access control attribute on the switch_php function called via the /switch-php REST API route. This allows attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Affected products
- siteground Speed Optimizer – The All-In-One Performance-Boosting Plugin: before 5.0.12 — fixed in 5.0.12
How to fix
Upgrade to a fixed version: siteground Speed Optimizer – The All-In-One Performance-Boosting Plugin 5.0.12. Check the vendor advisory for mitigations.
References
- https://blog.sucuri.net/2019/03/vulnerability-disclosure-siteground-optimizer-caldera-forms.html
- https://www.wordfence.com/threat-intel/vulnerabilities/id/657f3bd7-2cdc-4eb6-ba50-7c7fca468df0?source=cve
Get alerted when CVE-2019-25217 or the next vulnerability affects your stack