TheGem <= 5.10.3 - Authenticated (Subscriber+) Arbitrary File Upload
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-2025-4317 is a high severity with CVSS 8.8 Remote Code Execution issue affecting the Theme TheGem. It affects Versions up to 5.10.3 and is fixed in 5.10.3.1.
CVE-2025-4317 is tracked for the Theme TheGem as high severity with CVSS 8.8. The affected range is Versions up to 5.10.3. Update TheGem to 5.10.3.1 or newer where that version is compatible with the site.
| Software Type | Theme |
|---|---|
| Software Slug |
thegem
View on wordpress.org
|
| CVE | CVE-2025-4317 |
| Patched Versions |
5.10.3.1
|
| Affected Versions |
Versions up to 5.10.3
|
Related CVEs for TheGem
These internal links group the same WordPress theme by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
TheGem <= 5.10.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting
TheGem < 5.8.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting
TheGem < 5.8.1.1 - Improper Authentication
TheGem < 5.8.1.1 - Missing Authorization
TheGem <= 5.9.1 - Reflected Cross-Site Scripting
TheGem < 5.8.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting
TheGem <= 5.10.5 - Missing Authorization
TheGem <= 5.10.3 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Theme Options Update
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more