CVE-2019-25217

SiteGround Optimizer <= 5.0.12 - Missing Authorization

State
Published
Severity
9.8 Critical
Published
Oct 16, 2024
Updated
Apr 8, 2026
Reserved
Oct 15, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWordfence

Weaknesses

Affected Products

ProductVersions
Speed Optimizer – The All-In-One Performance-Boosting Pluginsiteground
  • before 5.0.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.