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

High 8.8 Published Updated

Authenticated attackers can upload arbitrary files via missing validation, potentially leading to remote code execution on WordPress sites using TheGem theme.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4317?

CVE-2025-4317 is a high-severity vulnerability in CodexThemes TheGem, published on 13 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2025-4317?

How do I fix CVE-2025-4317?

No fix has been published for CVE-2025-4317 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-4317 being exploited?

There is no known exploitation of CVE-2025-4317 in the wild and no public exploit code.

Sources

Also known as GHSA-w36c-pjh8-xh3c.

Is CVE-2025-4317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free