CVE-2019-25217 CRITICAL

CVE-2019-25217: SiteGround Optimizer <= 5.0.12 - Missing Authorization

Vendor Siteground
Product Speed Optimizer – The All-In-One Performance-Boosting Plugin
Weakness CWE-862 · Missing authorization
Published October 16, 2024
Last update April 8, 2026

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 16, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

04Related CVE