CVE-2019-25217

published 16 Oct 2024 · updated 8 Apr 2026

SiteGround Optimizer <= 5.0.12 - Missing Authorization

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.0.13.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SiteGround<5.0.135.0.13

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-25217 severity on Zeptric[![CVE-2019-25217](https://zeptric.io/badge/cve/CVE-2019-25217.svg)](https://zeptric.io/cve/CVE-2019-25217)