Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12513: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rewardsfuel Contests by Rewards Fuel

0
Medium
VulnerabilityCVE-2024-12513cvecve-2024-12513cwe-79
Published: Wed Dec 18 2024 (12/18/2024, 02:24:12 UTC)
Source: CVE Database V5
Vendor/Project: rewardsfuel
Product: Contests by Rewards Fuel

Description

CVE-2024-12513 is a stored cross-site scripting (XSS) vulnerability in the Contests by Rewards Fuel WordPress plugin, affecting all versions up to 2. 0. 65. It arises from improper input sanitization and output escaping of user-supplied attributes in the 'RF_CONTEST' shortcode. Authenticated users with contributor-level or higher privileges can inject malicious scripts that execute in the context of any user viewing the affected page, potentially leading to session hijacking or privilege escalation. The vulnerability has a CVSS score of 6. 4 (medium severity), with no known exploits in the wild as of now. Mitigation requires patching or applying strict input validation and output encoding. Organizations using this plugin on WordPress sites should review user roles and restrict contributor access until fixed. The threat primarily impacts websites using this plugin globally, especially in countries with high WordPress adoption and e-commerce or marketing activities.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:01:12 UTC

Technical Analysis

CVE-2024-12513 is a stored cross-site scripting (XSS) vulnerability identified in the Contests by Rewards Fuel plugin for WordPress, specifically affecting all versions up to and including 2.0.65. The root cause lies in insufficient sanitization and escaping of user-supplied input within the plugin's 'RF_CONTEST' shortcode attributes. This flaw allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into contest pages. When other users access these pages, the injected scripts execute in their browsers, potentially enabling session hijacking, unauthorized actions on behalf of users, or theft of sensitive information. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required but no user interaction needed. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the attacker’s privileges, impacting confidentiality and integrity but not availability. No public exploits have been reported yet, but the vulnerability poses a credible threat to WordPress sites using this plugin, especially those allowing contributor-level user registrations. The plugin is widely used for running contests and promotions, making affected sites attractive targets for attackers aiming to compromise user trust or steal credentials. The vulnerability demands immediate attention to prevent exploitation.

Potential Impact

The impact of CVE-2024-12513 is significant for organizations running WordPress sites with the Contests by Rewards Fuel plugin. Successful exploitation allows attackers with contributor-level access to inject persistent malicious scripts, which execute in the browsers of any visitors to the compromised pages. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed with victim user privileges, and potential spread of malware. The confidentiality and integrity of user data and site content are at risk, undermining user trust and potentially causing reputational damage. While availability is not directly affected, the indirect consequences such as blacklisting by search engines or browsers due to malicious content can disrupt site operations. The requirement for authenticated access limits the attack surface but does not eliminate risk, especially for sites with open or weak user registration policies. Organizations involved in e-commerce, marketing, or customer engagement through contests are particularly vulnerable, as attackers may leverage this to target customers or manipulate contest outcomes. The vulnerability’s medium severity score reflects these risks, but the potential for chained attacks or privilege escalation could elevate its impact if combined with other vulnerabilities.

Mitigation Recommendations

To mitigate CVE-2024-12513, organizations should first apply any available patches or updates from the plugin vendor once released. In the absence of an official patch, administrators should restrict contributor-level and higher user roles from accessing or using the 'RF_CONTEST' shortcode functionality. Implement strict input validation and output encoding on all user-supplied data related to contest shortcodes to prevent script injection. Employ Web Application Firewalls (WAFs) with rules targeting XSS payloads specific to this plugin’s parameters. Conduct regular audits of user-generated content for suspicious scripts or anomalies. Limit user registrations and enforce strong authentication policies to reduce the risk of malicious insiders or compromised accounts. Monitor site logs for unusual activity related to contest pages. Educate site administrators and content creators about the risks of XSS and safe content practices. Finally, consider isolating contest functionality on separate subdomains or environments to contain potential exploitation impact.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-11T13:26:56.717Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e40b7ef31ef0b59bb25

Added to database: 2/25/2026, 9:48:48 PM

Last enriched: 2/26/2026, 4:01:12 AM

Last updated: 2/26/2026, 9:43:21 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats