vulnerability
WordPress Plugin: sg-cachepress: CVE-2019-25217: Missing Authorization
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 10 | (AV:N/AC:L/Au:N/C:C/I:C/A:C) | Mar 14, 2019 | May 15, 2025 | May 5, 2026 |
Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
Mar 14, 2019
Added
May 15, 2025
Modified
May 5, 2026
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.
Solution
sg-cachepress-plugin-cve-2019-25217
References
- https://www.cve.org/CVERecord?id=CVE-2019-25217
- https://www.wordfence.com/threat-intel/vulnerabilities/id/657f3bd7-2cdc-4eb6-ba50-7c7fca468df0?source=api-prod
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-19365
- CVE-2019-25217
- https://attackerkb.com/topics/CVE-2019-25217
- CWE-862
- EUVD-EUVD-2019-19365
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.