Skip to content
Business logic Write-up Beginner

Unauthenticated Client-Side Prize Manipulation Vulnerability in Spin Wheel plugin

The Spin Wheel WordPress plugin calculated the winning prize index on the client side and sent it to the server without validation. An unauthenticated attacker could manipulate the prize index to win any prize, including the highest-value one.

jsonc Follow

Published on medium.com

Digging for bugs in wordpress plugins: we rig the odds on a game of chance in a spinning prize wheel plugin (Spin Wheel < = v2.1.0), or how I found CVE-2026–0808.

jsonc, on 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

Impact

An unauthenticated attacker could manipulate the prize index to win any prize, including the highest-value one, and the win would be recorded in the site backend.

What the attacker needed

WordPress site with Spin Wheel plugin <= 2.1.0; No authentication required

The fix

The plugin was fixed in version 2.1.1.

How it was found

  1. Install and activate the Spin Wheel plugin, create a wheel with prizes and weightings.
  2. Add the shortcode to a page and fill the entry form to trigger the spin.
  3. In the browser console, override jQuery.ajax to change the prize_index parameter in the swp_spin_wheel action.
  4. Submit the form; the server stores the manipulated prize index.

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.

The plugin decided which prize you win in the browser, not on the server. The browser then told the server which prize to record. An attacker could change that message to claim any prize they wanted.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.