Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97318 Overview
CVE-2026-97318 is an open redirect vulnerability [CWE-601] in the Giveaways and Contests by RafflePress WordPress plugin before version 1.12.27. The plugin fails to validate a giveaway's parent page URL before storing it and later redirecting visitors to it. Unauthenticated attackers can abuse this flaw to make the site's own giveaway confirmation and referral links redirect visitors to arbitrary external destinations. The vulnerability enables phishing campaigns that leverage the trust of the legitimate WordPress site hosting the giveaway.
Critical Impact
Attackers can weaponize trusted giveaway and referral URLs to redirect visitors to malicious domains for phishing, credential theft, or malware delivery.
Affected Products
- Giveaways and Contests by RafflePress WordPress plugin versions prior to 1.12.27
- WordPress sites running the vulnerable plugin with active giveaways
- Any site generating referral or confirmation links through RafflePress
Discovery Timeline
- 2026-10-02 - CVE-2026-97318 published to the National Vulnerability Database
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-97318
Vulnerability Analysis
The vulnerability lives in the giveaway configuration workflow of the RafflePress plugin. When an administrator creates or edits a giveaway, the plugin accepts a parent page URL and persists it without validating that the value points to the local site. The stored URL is later used as the target for giveaway confirmation flows and referral links shared by participants.
Because the plugin does not restrict the URL to the site's own origin or an allowlist, attackers can arrange for the destination to be any external address. Visitors following a legitimate-looking link on the WordPress host are then forwarded to the attacker-controlled site. The redirect chain preserves the appearance of a trusted interaction, which is the primary value of open redirect bugs to phishing operators.
Root Cause
The root cause is missing input validation on the giveaway parent page URL field. The plugin treats the URL as free-form input and does not enforce origin, scheme, or allowlist checks before saving or using it in a redirect response. This matches the CWE-601 pattern of URL redirection to untrusted sites.
Attack Vector
Exploitation requires user interaction. An attacker influences the parent page URL stored for a giveaway, then distributes the plugin's generated confirmation or referral links. When a visitor clicks the link on the WordPress site, the plugin issues a redirect to the attacker's domain. The attack is network-reachable, requires no authentication for the victim, and allows the attacker to abuse the credibility of the hosting domain. The CWE-601 class is commonly chained with credential phishing kits or drive-by malware pages.
See the WPScan Vulnerability Report for additional technical context.
Detection Methods for CVE-2026-97318
Indicators of Compromise
- Giveaway configurations containing parent page URLs that resolve to external domains outside the site's primary origin
- HTTP 301 or 302 responses from RafflePress endpoints forwarding users to third-party hosts
- Spikes in outbound referral traffic from giveaway or confirmation URLs to unfamiliar destinations
Detection Strategies
- Audit the wp_options and plugin-specific tables for any RafflePress giveaway records with non-local parent page URLs
- Review web server access logs for RafflePress redirect endpoints returning external Location headers
- Inspect email, chat, and social media reports of RafflePress links that terminated on unexpected sites
Monitoring Recommendations
- Alert on WordPress sites running RafflePress plugin versions below 1.12.27
- Monitor outbound redirect patterns from the site and flag redirects to newly registered or low-reputation domains
- Track administrator and editor changes to giveaway configurations, including the parent page URL field
How to Mitigate CVE-2026-97318
Immediate Actions Required
- Upgrade the Giveaways and Contests by RafflePress plugin to version 1.12.27 or later on every affected WordPress site
- Review all existing giveaways and reset any parent page URL that points to a non-local destination
- Rotate any administrator credentials that may have been exposed through phishing campaigns abusing the redirect
Patch Information
The plugin vendor addressed the issue in version 1.12.27 by validating the giveaway parent page URL before persisting it and before issuing redirects. Operators should install the fixed release through the WordPress plugin updater or by replacing the plugin files from the official distribution. Refer to the WPScan Vulnerability Report for release details.
Workarounds
- Temporarily disable the RafflePress plugin until the patched version is installed
- Restrict administrative access to the giveaway configuration screens to trusted operators only
- Deploy a web application firewall rule that blocks RafflePress redirect responses with external Location headers
# Update the RafflePress plugin to the fixed version using WP-CLI
wp plugin update rafflepress --version=1.12.27
wp plugin list --name=rafflepress --fields=name,status,version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

