TheGem <= 5.10.3 - Authenticated (Subscriber+) Arbitrary File Upload

8.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2025-4317
CVSS 8.8 (High)
Publicly Published May 12, 2025
Last Updated May 13, 2025
Researcher Foxyyy

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.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for TheGem

Software Type Theme
Software Slug thegem
Patched? Yes
Remediation Update to version 5.10.3.1, or a newer patched version
Affected Version
  • <= 5.10.3
Patched Version
  • 5.10.3.1

Recent vulnerabilities in TheGem

# Title CVE ID CVSS Researchers Date
1 TheGem <= 5.11.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-65480 6.4 João Pedro S Alcântara (Kinorth) July 22, 2026
2 TheGem <= 5.10.5 - Missing Authorization CVE-2025-60097 4.3 Rafie Muhammad September 26, 2025
3 TheGem <= 5.10.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting CVE-2025-62011 6.4 Rafie Muhammad September 3, 2025
4 TheGem <= 5.10.3 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Theme Options Update CVE-2025-4339 4.3 Foxyyy May 12, 2025
5 TheGem <= 5.9.1 - Reflected Cross-Site Scripting CVE-2023-50892 6.1 Rafie Muhammad December 26, 2023
6 TheGem < 5.8.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting CVE-2023-32237 6.4 Dave Jong May 5, 2023
7 TheGem < 5.8.1.1 - Improper Authentication CVE-2023-32238 6.3 Dave Jong May 5, 2023
8 TheGem < 5.8.1.1 - Missing Authorization CVE-2023-32238 6.3 Dave Jong May 5, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation