{"id":"CVE-2025-5530","aliases":["EUVD-2025-21117","GHSA-cx7w-m2mf-m3xp"],"status":"published","title":"WPC Smart Compare for WooCommerce \u003c= 6.4.6 - Authenticated (Contributor+) Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00256,"percentile":0.17244,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2025-07-11T07:23:00Z","modified":"2026-06-17T09:48:06Z","products":[{"vendor":"wpclever","product":"wpc smart compare for woocommerce"},{"vendor":"wpclever","product":"wpc_smart_compare_for_woocommerce"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3bd09891-8117-43b1-8744-8f3773971540?source=cve","tags":["Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/woo-smart-compare/tags/6.4.5/wpc-smart-compare.php#L187","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/browser/woo-smart-compare/tags/6.4.5/wpc-smart-compare.php#L2616","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=3318565%40woo-smart-compare\u0026new=3318565%40woo-smart-compare\u0026sfp_email=\u0026sfph_mail=","tags":["Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5530"},{"url":"https://github.com/advisories/GHSA-cx7w-m2mf-m3xp"}],"sources":{"cve":[{"id":"CVE-2025-5530","title":"WPC Smart Compare for WooCommerce \u003c= 6.4.6 - Authenticated (Contributor+) Stored Cross-Site Scripting","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.","status":"published","published":"2025-07-11T07:23:00.319Z","modified":"2026-04-08T16:47:18.811Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-21117","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.","status":"published","published":"2025-07-11T07:23:00Z","modified":"2026-04-08T16:47:18Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:25:02.323358Z"}],"ghsa":[{"id":"GHSA-cx7w-m2mf-m3xp","title":"The WPC Smart Compare for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site...","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.","status":"published","published":"2025-07-11T09:30:31Z","modified":"2025-07-11T09:30:37Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:02:59.345355Z"}],"nvd":[{"id":"CVE-2025-5530","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.","status":"published","published":"2025-07-11T08:15:24.123Z","modified":"2026-06-17T09:48:06.523Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:18.285862Z"}]}}
