CVE-2025-5530: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpclever WPC Smart Compare for WooCommerce
The WPC Smart Compare for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shortcode_btn' shortcode in all versions up to, and including, 6.4.6 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
CVE-2025-5530 is a stored cross-site scripting vulnerability in the WPC Smart Compare for WooCommerce plugin for WordPress, affecting all versions up to 6.4.6. The issue is due to improper neutralization of input in the 'shortcode_btn' shortcode, allowing authenticated users with contributor or higher privileges to inject malicious scripts via user-supplied shortcode attributes. These scripts execute in the context of users who access the injected pages, potentially leading to information disclosure or session hijacking. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to information disclosure or other client-side impacts. The vulnerability does not impact availability and requires authenticated access, limiting its scope. There are no reported active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the WPC Smart Compare for WooCommerce plugin if possible. Monitor for vendor updates regarding patches or official mitigations.
CVE-2025-5530: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpclever WPC Smart Compare for WooCommerce
Description
The WPC Smart Compare for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'shortcode_btn' shortcode in all versions up to, and including, 6.4.6 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
CVE-2025-5530 is a stored cross-site scripting vulnerability in the WPC Smart Compare for WooCommerce plugin for WordPress, affecting all versions up to 6.4.6. The issue is due to improper neutralization of input in the 'shortcode_btn' shortcode, allowing authenticated users with contributor or higher privileges to inject malicious scripts via user-supplied shortcode attributes. These scripts execute in the context of users who access the injected pages, potentially leading to information disclosure or session hijacking. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to information disclosure or other client-side impacts. The vulnerability does not impact availability and requires authenticated access, limiting its scope. There are no reported active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the WPC Smart Compare for WooCommerce plugin if possible. Monitor for vendor updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-03T14:41:48.604Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6870bdbba83201eaacacf6f6
Added to database: 7/11/2025, 7:31:07 AM
Last enriched: 4/9/2026, 5:35:16 PM
Last updated: 5/10/2026, 9:01:10 AM
Views: 157
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.