Loading HuntDB...

GHSA-5xpj-qjq8-m3v5

GitHub Security Advisory

⚠ Unreviewed CRITICAL Has CVE

Advisory Details

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.

Related CVEs

Key Information

GHSA ID
GHSA-5xpj-qjq8-m3v5
Published
October 16, 2024 9:30 AM
Last Modified
October 16, 2024 9:30 AM
CVSS Score
9.0 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: July 1, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.