CVE-2025-2891 WP Pro Real Estate 7 <= 3.5.4 - Authenticated (Custom) Arbitrary File Upload

High 8.8 Published Updated

Authenticated attackers with Seller access can upload arbitrary files to achieve remote code execution if front-end listing submission is enabled.

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-2891?

CVE-2025-2891 is a high-severity vulnerability in contempoinc Real Estate 7 WordPress, published on 1 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Real Estate 7 WordPress theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation via the 'template-submit-listing.php' file in all versions up to, and including, 3.5.4. This makes it possible for authenticated attackers, with Seller-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible if front-end listing submission has been enabled.

Weakness: CWE-434

Which versions are affected by CVE-2025-2891?

How do I fix CVE-2025-2891?

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

Is CVE-2025-2891 being exploited?

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

Sources

Also known as GHSA-p7hc-668h-v768.

Is CVE-2025-2891 in your software?

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

Check your SBOMs for free