CVE-2025-8059 B Blocks <= 2.0.6 - Missing Authorization to Unauthenticated Privilege Escalation via rgfr_registration Function

Critical 9.8 Published Updated

Unauthenticated attackers can create administrator accounts due to missing authorization in the B Blocks WordPress plugin registration function.

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

CVE-2025-8059 is a critical missing authorization vulnerability in bplugins bBlocks – Essential Gutenberg Blocks & Patterns Collection, published on 12 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The B Blocks plugin for WordPress is vulnerable to Privilege Escalation due to missing authorization and improper input validation within the rgfr_registration() function in all versions up to, and including, 2.0.6. This makes it possible for unauthenticated attackers to create a new account and assign it the administrator role.

Weakness: CWE-862

Which versions are affected by CVE-2025-8059?

How do I fix CVE-2025-8059?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-8059 being exploited?

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

Sources

Also known as GHSA-2p79-m736-2x7h.

Is CVE-2025-8059 in your software?

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

Check your SBOMs for free