82,000 WordPress Sites Affected by Arbitrary File Upload Vulnerability in TheGem WordPress Theme

On May 4th, 2025, Wordfence received a submission for an Arbitrary File Upload vulnerability in TheGem, a WordPress theme with more than 82,000 sales. This vulnerability can be used by authenticated attackers, with subscriber-level access and above, to upload arbitrary files to a vulnerable site and achieve remote code execution, which is typically leveraged for a complete site takeover.

Props to Foxyyy who discovered and responsibly reported this vulnerability through the Wordfence Bug Bounty Program. This researcher earned a bounty of $1,405.00 for this discovery.

Users of the paid version of Wordfence received a firewall rule to protect against any exploits targeting this vulnerability on May 5, 2025. Sites using the free version of Wordfence will receive the same protection 30 days later on June 4, 2025.

Wordfence contacted the CodexThemes team on May 5, 2025, and received a response on the same day. After providing full disclosure details, the developer released a patch on May 7, 2025. We would like to commend the CodexThemes team for their prompt response and timely patch.

We urge users to update their sites with the latest patched version of TheGem, version 5.10.3.1 at the time of this writing, as soon as possible.

Source and more details: https://www.wordfence.com/blog/2025/05/82000-wordpress-sites-affected-by-arbitrary-file-upload-vulnerability-in-thegem-wordpress-theme

Posted in Vulnerability.