CVE-2024-12517: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in prontotools WooCommerce Cart Count Shortcode
CVE-2024-12517 is a medium severity stored Cross-Site Scripting (XSS) vulnerability in the prontotools WooCommerce Cart Count Shortcode WordPress plugin, affecting all versions up to 1. 0. 4. The flaw arises from improper input sanitization and output escaping on user-supplied attributes in the 'cart_button' shortcode. Authenticated attackers with contributor-level or higher privileges can inject malicious scripts that execute whenever any user views the compromised page. This vulnerability does not require user interaction but does require authentication with limited privileges. Exploitation can lead to partial confidentiality and integrity impacts, such as session hijacking or content manipulation. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent potential abuse, especially in environments with multiple contributors. Countries with high WordPress and WooCommerce adoption, including the United States, United Kingdom, Germany, Australia, Canada, and India, are more likely to be affected.
AI Analysis
Technical Summary
CVE-2024-12517 is a stored Cross-Site Scripting (XSS) vulnerability identified in the prontotools WooCommerce Cart Count Shortcode WordPress plugin, specifically in all versions up to and including 1.0.4. The vulnerability stems from insufficient sanitization and escaping of user-supplied input in the 'cart_button' shortcode attributes, which allows an authenticated attacker with contributor-level or higher privileges to inject arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored, it executes whenever any user accesses the infected page, potentially compromising user sessions or manipulating page content. The vulnerability requires authentication but no user interaction to trigger the payload. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, privileges required, no user interaction, and a scope change. The impacts include limited confidentiality and integrity loss but no availability impact. No patches or known exploits are currently available or reported. The vulnerability is categorized under CWE-79, indicating improper neutralization of input during web page generation. This flaw is particularly concerning for multi-user WordPress sites using this plugin, as contributors can escalate their influence by injecting malicious scripts affecting all visitors or administrators viewing the compromised content.
Potential Impact
The primary impact of CVE-2024-12517 is the potential for attackers with contributor-level access to inject persistent malicious scripts into WordPress sites using the vulnerable WooCommerce Cart Count Shortcode plugin. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or defacement of site content. Since the vulnerability affects the confidentiality and integrity of data but not availability, the risk includes unauthorized data exposure and manipulation rather than service disruption. Organizations with multiple contributors or editors are at higher risk, as attackers can exploit their privileges to compromise the site and its users. The scope of affected systems includes all WordPress sites running the vulnerable plugin versions, which may be widespread given WooCommerce's popularity. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits. Failure to address this vulnerability could lead to reputational damage, loss of customer trust, and potential compliance issues for organizations handling sensitive customer data.
Mitigation Recommendations
To mitigate CVE-2024-12517, organizations should first check if an updated version of the WooCommerce Cart Count Shortcode plugin is available that addresses this vulnerability and apply the update promptly. If no patch is available, administrators should consider disabling or removing the plugin until a fix is released. Restrict contributor-level privileges carefully, limiting the number of users with such access and reviewing user roles regularly to minimize the attack surface. Implement Web Application Firewall (WAF) rules that detect and block suspicious script injections targeting the 'cart_button' shortcode parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. Conduct regular security audits and code reviews of custom shortcodes or plugins to ensure proper input validation and output encoding. Educate content contributors about the risks of injecting untrusted content and enforce strict content moderation policies. Monitor website logs and user activity for unusual behavior indicative of exploitation attempts. Finally, maintain regular backups to enable recovery in case of compromise.
Affected Countries
United States, United Kingdom, Germany, Australia, Canada, India, France, Netherlands, Brazil, Japan
CVE-2024-12517: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in prontotools WooCommerce Cart Count Shortcode
Description
CVE-2024-12517 is a medium severity stored Cross-Site Scripting (XSS) vulnerability in the prontotools WooCommerce Cart Count Shortcode WordPress plugin, affecting all versions up to 1. 0. 4. The flaw arises from improper input sanitization and output escaping on user-supplied attributes in the 'cart_button' shortcode. Authenticated attackers with contributor-level or higher privileges can inject malicious scripts that execute whenever any user views the compromised page. This vulnerability does not require user interaction but does require authentication with limited privileges. Exploitation can lead to partial confidentiality and integrity impacts, such as session hijacking or content manipulation. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent potential abuse, especially in environments with multiple contributors. Countries with high WordPress and WooCommerce adoption, including the United States, United Kingdom, Germany, Australia, Canada, and India, are more likely to be affected.
AI-Powered Analysis
Technical Analysis
CVE-2024-12517 is a stored Cross-Site Scripting (XSS) vulnerability identified in the prontotools WooCommerce Cart Count Shortcode WordPress plugin, specifically in all versions up to and including 1.0.4. The vulnerability stems from insufficient sanitization and escaping of user-supplied input in the 'cart_button' shortcode attributes, which allows an authenticated attacker with contributor-level or higher privileges to inject arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored, it executes whenever any user accesses the infected page, potentially compromising user sessions or manipulating page content. The vulnerability requires authentication but no user interaction to trigger the payload. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, privileges required, no user interaction, and a scope change. The impacts include limited confidentiality and integrity loss but no availability impact. No patches or known exploits are currently available or reported. The vulnerability is categorized under CWE-79, indicating improper neutralization of input during web page generation. This flaw is particularly concerning for multi-user WordPress sites using this plugin, as contributors can escalate their influence by injecting malicious scripts affecting all visitors or administrators viewing the compromised content.
Potential Impact
The primary impact of CVE-2024-12517 is the potential for attackers with contributor-level access to inject persistent malicious scripts into WordPress sites using the vulnerable WooCommerce Cart Count Shortcode plugin. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or defacement of site content. Since the vulnerability affects the confidentiality and integrity of data but not availability, the risk includes unauthorized data exposure and manipulation rather than service disruption. Organizations with multiple contributors or editors are at higher risk, as attackers can exploit their privileges to compromise the site and its users. The scope of affected systems includes all WordPress sites running the vulnerable plugin versions, which may be widespread given WooCommerce's popularity. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits. Failure to address this vulnerability could lead to reputational damage, loss of customer trust, and potential compliance issues for organizations handling sensitive customer data.
Mitigation Recommendations
To mitigate CVE-2024-12517, organizations should first check if an updated version of the WooCommerce Cart Count Shortcode plugin is available that addresses this vulnerability and apply the update promptly. If no patch is available, administrators should consider disabling or removing the plugin until a fix is released. Restrict contributor-level privileges carefully, limiting the number of users with such access and reviewing user roles regularly to minimize the attack surface. Implement Web Application Firewall (WAF) rules that detect and block suspicious script injections targeting the 'cart_button' shortcode parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. Conduct regular security audits and code reviews of custom shortcodes or plugins to ensure proper input validation and output encoding. Educate content contributors about the risks of injecting untrusted content and enforce strict content moderation policies. Monitor website logs and user activity for unusual behavior indicative of exploitation attempts. Finally, maintain regular backups to enable recovery in case of compromise.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-11T13:35:02.822Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e40b7ef31ef0b59bb31
Added to database: 2/25/2026, 9:48:48 PM
Last enriched: 2/26/2026, 4:00:27 AM
Last updated: 2/26/2026, 10:51:48 AM
Views: 3
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-2025-64999: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Checkmk GmbH Checkmk
HighCVE-2026-28138: Deserialization of Untrusted Data in Stylemix uListing
HighCVE-2026-28136: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in VeronaLabs WP SMS
HighCVE-2026-28132: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in villatheme WooCommerce Photo Reviews
HighCVE-2026-28131: Insertion of Sensitive Information Into Sent Data in WPVibes Elementor Addon Elements
HighActions
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.