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-11898: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in akashmalik Scratch & Win – Giveaways and Contests. Boost subscribers, traffic, repeat visits, referrals, sales and more

0
Medium
VulnerabilityCVE-2024-11898cvecve-2024-11898cwe-79
Published: Tue Dec 03 2024 (12/03/2024, 07:34:58 UTC)
Source: CVE Database V5
Vendor/Project: akashmalik
Product: Scratch & Win – Giveaways and Contests. Boost subscribers, traffic, repeat visits, referrals, sales and more

Description

CVE-2024-11898 is a stored cross-site scripting (XSS) vulnerability in the WordPress plugin 'Scratch & Win – Giveaways and Contests' by akashmalik, affecting all versions up to 2. 6. 9. The flaw arises from improper input sanitization and output escaping in the 'swin-campaign' shortcode, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or other malicious actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. The threat primarily affects WordPress sites globally, especially those relying on this plugin for marketing campaigns.

AI-Powered Analysis

AILast updated: 02/26/2026, 07:43:13 UTC

Technical Analysis

CVE-2024-11898 is a stored cross-site scripting vulnerability classified under CWE-79, found in the WordPress plugin 'Scratch & Win – Giveaways and Contests' by akashmalik. This plugin is designed to boost subscribers, traffic, and engagement through giveaways and contests. The vulnerability exists in all versions up to and including 2.6.9, specifically in the 'swin-campaign' shortcode. The root cause is insufficient sanitization and escaping of user-supplied attributes, which allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on behalf of the victim. The vulnerability requires no user interaction but does require authenticated access, which limits exploitation to users who already have some level of trust within the WordPress environment. The CVSS 3.1 base score is 6.4, reflecting a medium severity due to the ease of exploitation by authenticated users and the potential impact on confidentiality and integrity, but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a risk to websites using this plugin, especially those with multiple contributors or less restrictive user roles.

Potential Impact

The impact of CVE-2024-11898 can be significant for organizations using the affected WordPress plugin. Attackers with contributor or higher privileges can inject malicious scripts that execute in the browsers of site visitors or administrators, potentially leading to session hijacking, theft of sensitive information, unauthorized actions, or defacement. This undermines the confidentiality and integrity of the affected websites and can damage user trust and brand reputation. Since the vulnerability does not affect availability, denial-of-service is unlikely. However, the ability to execute persistent XSS can facilitate further attacks such as privilege escalation or malware distribution. Organizations with multiple contributors or public-facing WordPress sites that rely on this plugin for marketing and engagement are at higher risk. The threat is global, affecting any site using the plugin, but especially those with less stringent user role management or high visitor traffic.

Mitigation Recommendations

To mitigate CVE-2024-11898, organizations should first check for and 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 permissions to trusted users only, minimizing the risk of malicious input. Implementing a Web Application Firewall (WAF) with rules to detect and block XSS payloads in shortcode attributes can provide temporary protection. Additionally, site owners should audit existing content for injected scripts and remove any suspicious code. Employing Content Security Policy (CSP) headers can reduce the impact of XSS by restricting script execution sources. Regularly reviewing user roles and permissions, and educating contributors about safe input practices, will further reduce risk. Finally, monitoring logs for unusual activity or script injections can help detect exploitation attempts early.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-11-27T16:38:15.499Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e26b7ef31ef0b596c07

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

Last enriched: 2/26/2026, 7:43:13 AM

Last updated: 2/26/2026, 8:05:49 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