CVE-2019-25217

SiteGround Optimizer <= 5.0.12 - Missing Authorization

9.8 critical EPSS 0.85%

Published 16 Oct 2024 Updated 8 Apr 2026 CNA: Wordfence

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.

Severity (CVSS)

9.8 critical CVSS 3.1 from Wordfence (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.85%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.6% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Speed Optimizer – The All-In-One Performance-Boosting Plugin
affected before 5.0.13
Other versions: unaffected

Is my server affected?

This CVE is in Speed Optimizer – The All-In-One Performance-Boosting Plugin of siteground, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

PatchBrief matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2019-25217 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.