TheGem: Dangerous file upload
TheGem is affected by dangerous file upload. Exploitation requires at least subscriber-level access. Successful exploitation can place attacker-controlled executable content on the server and may lead to full site compromise.
- Component
- TheGem
- Plugin slug
thegem- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- May 13, 2025
This CVE was published May 13, 2025 and is one of 6 known issues for this theme.
Patch or disable the affected component.
Update TheGem to a release outside the affected range, or disable and remove it until a fixed version is available.
Technical description
The TheGem theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the thegem_get_logo_url() function in all versions up to, and including, 5.10.3. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H