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-12516: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vickydalmia Coupon Plugin

0
Medium
VulnerabilityCVE-2024-12516cvecve-2024-12516cwe-79
Published: Tue Jan 07 2025 (01/07/2025, 07:22:33 UTC)
Source: CVE Database V5
Vendor/Project: vickydalmia
Product: Coupon Plugin

Description

CVE-2024-12516 is a stored cross-site scripting (XSS) vulnerability in the vickydalmia Coupon Plugin for WordPress, affecting all versions up to 1. 2. 1. Authenticated users with Contributor-level access or higher can inject malicious scripts via the 'Coupon Code' parameter, which execute when other users view the affected pages. This vulnerability arises from improper input sanitization and output escaping, allowing persistent script injection. The CVSS score is 6. 4 (medium severity), reflecting network exploitability with low attack complexity but requiring authenticated access. Exploitation can lead to partial confidentiality and integrity loss, such as session hijacking or defacement, but does not impact availability. No known public exploits have been reported yet. Organizations using this plugin should prioritize patching or mitigating this issue to prevent potential abuse.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:00:41 UTC

Technical Analysis

CVE-2024-12516 identifies a stored cross-site scripting vulnerability in the vickydalmia Coupon Plugin for WordPress, present in all versions up to and including 1.2.1. The vulnerability stems from insufficient sanitization and escaping of the 'Coupon Code' parameter, allowing authenticated users with Contributor-level or higher privileges to inject arbitrary JavaScript code into the plugin's pages. When other users access these pages, the malicious scripts execute in their browsers, potentially enabling session hijacking, privilege escalation, or unauthorized actions within the context of the victim's session. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The CVSS 3.1 base score is 6.4, indicating a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No public exploits have been reported to date, but the vulnerability poses a risk to any WordPress site using this plugin, especially those allowing contributors to add or edit coupons. The persistent nature of stored XSS increases the risk of widespread impact once exploited. The vulnerability was published on January 7, 2025, and no official patches have been linked yet, emphasizing the need for immediate mitigation steps.

Potential Impact

The primary impact of CVE-2024-12516 is the potential compromise of user confidentiality and integrity on affected WordPress sites. Exploitation allows attackers to execute arbitrary scripts in the browsers of site visitors or administrators, which can lead to session hijacking, theft of sensitive information, unauthorized actions, or defacement of site content. Although availability is not directly impacted, the reputational damage and user trust erosion can be significant. Organizations relying on the vickydalmia Coupon Plugin risk exposure to targeted attacks, especially if contributor roles are widely assigned or if the site has high traffic. The vulnerability could be leveraged to pivot to further attacks within the network or to distribute malware. Since the attack requires authenticated access at Contributor level or above, the risk is mitigated somewhat by access controls, but insider threats or compromised accounts increase the likelihood of exploitation. The scope of affected systems is broad given WordPress's global popularity and the plugin's usage, making this a relevant threat for e-commerce and marketing sites using this plugin.

Mitigation Recommendations

1. Immediately review and restrict Contributor-level access to trusted users only, minimizing the number of users who can inject coupon codes. 2. Implement strict input validation and output encoding for the 'Coupon Code' parameter at the application level if patching is not yet available. 3. Deploy a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting WordPress plugins. 4. Monitor logs and user activities for suspicious coupon code entries or unusual contributor behavior. 5. Educate site administrators and contributors about the risks of XSS and safe content practices. 6. Regularly update the plugin once a patch is released by the vendor or consider replacing the plugin with a more secure alternative. 7. Use Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on the site. 8. Conduct periodic security assessments and penetration testing focusing on user input vectors in WordPress plugins. These steps go beyond generic advice by focusing on access control, proactive detection, and layered defenses tailored to the plugin's vulnerability.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

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

Threat ID: 699f6e40b7ef31ef0b59bb2d

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

Last enriched: 2/26/2026, 4:00:41 AM

Last updated: 2/26/2026, 6:16:59 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