Skip to content
Access control Write-up Intermediate

CVE-2025–31560: Salon Booking System <= 10.11 – Authenticated Privilege Escalation

The Salon Booking System WordPress plugin allowed a staff-level user to create a new customer account with administrator privileges by adding a crafted parameter to the account creation request. An attacker with staff access could therefore escalate their privileges to full administrator control of the WordPress site.

revan-ar Follow

Published on revan-ar.medium.com

I’ve discovered a Privilege Escalation vulnerability in the Salon Booking System WordPress plugin. This vulnerability occurred when the staff created a new customer account.

Revan A, on revan-ar.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The plugin passed user-supplied POST data directly to update_user_meta() without restricting which meta keys could be set, allowing the attacker to set the wp_capabilities meta key that controls WordPress roles.

Impact

A staff-level user could create a new administrator account, gaining full control over the WordPress site.

What the attacker needed

Valid staff-level account

The fix

The vulnerability was fixed in version 10.11.1 (or later) according to the timeline.

How it was found

  1. Log in as a Salon Staff user.
  2. Fill in the customer form and submit it.
  3. Modify the request body to add a parameter that sets the new user's capabilities to administrator.
  4. Check the new user's role using the original administrator account.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

In WordPress, user roles decide what someone can do, and 'administrator' is the most powerful role. The plugin let a staff member create customer accounts, but it also saved extra fields from the request without checking them. A staff member could sneak in a field that sets the new account's role to administrator, giving them full control of the site.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by revan-ar

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.