CVE-2024-12516: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vickydalmia Coupon Plugin
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 Analysis
Technical Summary
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.
Affected Countries
United States, India, Brazil, Germany, United Kingdom, Canada, Australia, France, Japan, Netherlands
CVE-2024-12516: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vickydalmia 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.