TheGem WordPress Theme Arbitrary File Upload Vulnerability Allowing Remote Code Execution

Vulnerability

A vulnerability exists in TheGem WordPress theme, specifically in versions through 5.10.3, allowing authenticated users with Subscriber-level access and above to upload arbitrary files. This issue arises from inadequate file type validation in the 'thegem_get_logo_url()' function. The vulnerability could potentially lead to remote code execution on the affected site.

Impact

Exploitation of this vulnerability could result in unauthorized file uploads, with the potential for remote code execution on the server.

Remediation

Users are advised to update to TheGem version 5.10.3.1 or a newer patched version.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
10.0
exploitability
5.4
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.