# Giveaways and Contests by RafflePress <= 1.12.28 - Authenticated (Editor+) Stored Cross-Site Scripting via Giveaway Entry Options

- **ID:** WPSEC-2026-3584
- **Plugin:** Giveaways and Contests by RafflePress – Get More Website Traffic, Email Subscribers, and Social Followers (`rafflepress`), https://wordpress.org/plugins/rafflepress/
- **Affected versions:** all versions before 1.13.0
- **Fixed in:** 1.13.0 (Update to 1.13.0 or later.)
- **Severity:** Medium 5.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/rafflepress
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3584/

## Description

The Giveaways and Contests by RafflePress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via giveaway entry options (such as the embed code, question, confirmation and instructions fields) in all versions up to, and including, 1.12.28, due to insufficient input sanitization when giveaways are saved by users who are not administrators with the unfiltered_html capability, and the lack of output escaping when the public giveaway page renders these fields as HTML. This makes it possible for authenticated attackers with Editor-level access and above who lack the unfiltered_html capability, such as editors on multisite installations, to inject arbitrary web scripts into the public giveaway page that execute whenever a user accesses it.

## References

- https://wpsec.com/vuln/WPSEC-2026-3584/
- https://plugins.svn.wordpress.org/rafflepress/tags/1.13.0/
- https://wordpress.org/plugins/rafflepress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3584/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
