CVE-2025-6758 Privilege escalation in Real Spaces - WordPress Properties Directory Theme

Critical 9.8 Published Updated

Unauthenticated attackers can register as administrators due to missing role restrictions in the Real Spaces WordPress theme.

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

What is CVE-2025-6758?

CVE-2025-6758 is a critical vulnerability in imithemes Real Spaces - WordPress Properties Directory Theme, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Real Spaces - WordPress Properties Directory Theme theme for WordPress is vulnerable to privilege escalation via the 'imic_agent_register' function in all versions up to, and including, 3.6. This is due to a lack of restriction in the registration role. This makes it possible for unauthenticated attackers to arbitrarily choose their role, including the Administrator role, during user registration.

Weakness: CWE-269

Which versions are affected by CVE-2025-6758?

How do I fix CVE-2025-6758?

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

Is CVE-2025-6758 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cfhh-ch5p-3rff.

Is CVE-2025-6758 in your software?

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

Check your SBOMs for free