CVE-2024-12517: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in prontotools WooCommerce Cart Count Shortcode
The WooCommerce Cart Count Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cart_button' shortcode in all versions up to, and including, 1.0.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The WooCommerce Cart Count Shortcode plugin for WordPress versions up to 1.0.4 contains a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the 'cart_button' shortcode. Authenticated attackers with contributor-level permissions or higher can inject arbitrary web scripts via insufficient input sanitization and output escaping of user-supplied shortcode attributes. These scripts execute in the context of any user visiting the injected page, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity), with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and impacts confidentiality and integrity but not availability. No patch or official fix is currently available, and no known exploits have been reported.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the vulnerable shortcode. These scripts execute in the browsers of users who visit the affected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. The medium CVSS score reflects the need for authenticated access and the impact on confidentiality and integrity.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the prontotools vendor advisories for updates and apply patches once released. Until a fix is available, consider restricting contributor-level access to trusted users only and disabling or removing the WooCommerce Cart Count Shortcode plugin or the 'cart_button' shortcode functionality to prevent exploitation.
CVE-2024-12517: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in prontotools WooCommerce Cart Count Shortcode
Description
The WooCommerce Cart Count Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cart_button' shortcode in all versions up to, and including, 1.0.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WooCommerce Cart Count Shortcode plugin for WordPress versions up to 1.0.4 contains a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input in the 'cart_button' shortcode. Authenticated attackers with contributor-level permissions or higher can inject arbitrary web scripts via insufficient input sanitization and output escaping of user-supplied shortcode attributes. These scripts execute in the context of any user visiting the injected page, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity), with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and impacts confidentiality and integrity but not availability. No patch or official fix is currently available, and no known exploits have been reported.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the vulnerable shortcode. These scripts execute in the browsers of users who visit the affected pages, potentially compromising user sessions or data confidentiality and integrity. The vulnerability does not affect availability. The medium CVSS score reflects the need for authenticated access and the impact on confidentiality and integrity.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the prontotools vendor advisories for updates and apply patches once released. Until a fix is available, consider restricting contributor-level access to trusted users only and disabling or removing the WooCommerce Cart Count Shortcode plugin or the 'cart_button' shortcode functionality to prevent exploitation.
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: 4/9/2026, 12:48:25 PM
Last updated: 4/12/2026, 12:16:17 PM
Views: 21
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.