On May 4th, 2025, we received a submission for a Privilege Escalation vulnerability in RealHomes, a WordPress theme with more than 33,000 sales. This vulnerability can be used by authenticated attackers, with subscriber-level access and above, to grant themselves administrative privileges by updating their user role. Please note that this vulnerability only critically affects users who have enabled the “Show user role option in profile” option in the settings, which is disabled by default.
Props to Thái An who discovered and responsibly reported this vulnerability through the Wordfence Bug Bounty Program. This researcher earned a bounty of $585.00 for this discovery.
Paid Wordfence users received a firewall rule to protect against any exploits targeting this vulnerability on May 12, 2025. Sites using the free version of Wordfence will receive the same protection 30 days later on June 11, 2025.
Wordfence contacted the InspiryThemes team on May 12, 2025, and received a response on May 15, 2025. After providing full disclosure details, the developer released the patch on May 26, 2025, and the second patch on June 5, 2025. We would like to commend the InspiryThemes team for their prompt response and timely patch.
We urge users to update their sites with the latest patched version of RealHomes, version 4.4.1 at the time of this writing, as soon as possible.
Source and more details: https://www.wordfence.com/blog/2025/06/33000-wordpress-sites-affected-by-privilege-escalation-vulnerability-in-realhomes-wordpress-theme