Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2389+ Articles
158+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-15002: Stored XSS in Autopay WooCommerce Plugin for WordPress
CVE-2026-15002: Stored XSS in Autopay WooCommerce Plugin for WordPress
SECURITYHIGHCVE-2026-15002

CVE-2026-15002: Stored XSS in Autopay WooCommerce Plugin for WordPress

CVE-2026-15002 is a stored XSS flaw (CVSS 7.2) in the Autopay WooCommerce plugin, letting attackers inject persistent scripts via the CSS editor POST parameter.

Dylan H.

Security Team

August 16, 2026
4 min read

Affected Products

  • Platnosci Online Blue Media (Autopay) Plugin <= 5.0.0

Executive Summary

A high-severity Stored Cross-Site Scripting (XSS) vulnerability (CVE-2026-15002) has been disclosed in the Platnosci Online Blue Media (Autopay) plugin for WordPress and WooCommerce. The flaw carries a CVSS score of 7.2 and allows authenticated attackers to inject persistent malicious scripts via the plugin's CSS editor functionality.

CVSS Score: 7.2 (High)

The vulnerability resides in the Css_Editor::handle_save() method, which processes the bm_woocommerce_css_editor_content POST parameter. This method is wired to the WordPress init hook and lacks proper output sanitization, allowing injected scripts to persist in the database and execute in the browsers of victims — including administrators — who visit affected pages. All versions up to and including 5.0.0 are affected.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-15002
CVSS Score7.2 (High)
TypeStored Cross-Site Scripting (XSS)
Attack VectorNetwork
Privileges RequiredLow (authenticated, shop manager or above)
User InteractionRequired (victim visits affected page)
PersistentYes — stored in database
Affected PluginPlatnosci Online Blue Media (Autopay)

Affected Versions

PluginAffected VersionsFixed Version
Platnosci Online Blue Media (Autopay)<= 5.0.0Pending / Uninstall

Technical Details

The Css_Editor::handle_save() method in the Autopay plugin is registered on the WordPress init hook, making it execute early in the WordPress lifecycle. The method reads the bm_woocommerce_css_editor_content POST parameter directly and saves it to the WordPress options table without sanitizing or escaping its contents.

When this stored content is later rendered in WordPress admin pages or WooCommerce store pages, the unsanitized payload executes as JavaScript in the victim's browser.

Attack Scenario

1. Attacker gains low-privilege authenticated access (e.g., shop manager)
2. Attacker sends POST request to the Autopay CSS editor save endpoint
   bm_woocommerce_css_editor_content=<script>malicious payload</script>
3. Payload is saved to the WordPress options table unescaped
4. Administrator or other user visits any page rendering the Autopay CSS
5. Attacker's script executes in the victim's browser
6. Session hijack, credential theft, or admin account creation follows

Stored XSS Impact Chain

StepImpact
Payload storedPersists until manually removed; survives page reloads
Admin visits pageScript executes with full admin browser session
Session token capturedAttacker gains WordPress admin access
Admin account createdPersistent backdoor independent of XSS
Customer data exposedWooCommerce orders, addresses, payment data at risk

Remediation

Step 1: Deactivate and Remove the Plugin

No patched version is currently available. Remove the plugin immediately.

# Via WP-CLI
wp plugin deactivate platnosci-blue-media
wp plugin delete platnosci-blue-media

Or via WordPress admin: Plugins > Installed Plugins > Platnosci Online Blue Media (Autopay) > Deactivate > Delete.

Step 2: Remove Stored Payload

If the plugin has already been exploited, the malicious payload is stored in the WordPress options table and must be manually removed:

# Search for the malicious option
wp option get bm_woocommerce_css_editor_content
 
# If it contains suspicious script tags, delete or clear it
wp option update bm_woocommerce_css_editor_content ""

Step 3: Audit Admin Sessions and Accounts

# Check for unauthorized administrator accounts
wp user list --role=administrator
 
# Review recent user registrations
wp user list --orderby=registered --order=DESC --number=20
 
# Invalidate all active sessions by rotating secret keys
wp config shuffle-salts

Step 4: Content Security Policy

Implement a Content Security Policy header to limit script execution sources:

add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';";

Detection Indicators

IndicatorDescription
bm_woocommerce_css_editor_content option containing <script> tagsStored XSS payload present
Unauthorized POST requests to Autopay CSS editor endpointExploitation attempt
Unexpected admin account creations in access logsPost-XSS privilege escalation
Outbound requests from admin browsers to unknown domainsSession token exfiltration
Suspicious changes to WooCommerce payment settingsPost-compromise manipulation

Post-Remediation Checklist

  1. Remove the Autopay plugin from all WordPress installations
  2. Clear the bm_woocommerce_css_editor_content option from the database
  3. Audit all administrator and shop manager accounts for unauthorized additions
  4. Rotate WordPress secret keys to invalidate all existing sessions
  5. Review WooCommerce payment gateway configurations for unauthorized changes
  6. Scan for other stored XSS payloads using a security plugin (Wordfence, Sucuri)
  7. Notify WooCommerce customers if payment or order data may have been accessed
  8. Implement a CSP header to reduce XSS blast radius going forward

References

  • NIST NVD — CVE-2026-15002

Related Reading

  • CVE-2026-14498: Query Wrangler RCE in WordPress
  • CVE-2026-14524: ProSolution WP Client Arbitrary File Deletion
#WordPress#WooCommerce#CVE-2026-15002#Stored XSS#Web Security

Related Articles

CVE-2026-14182: WooCommerce Email Verification Bypass Allows Account Takeover

A CVSS 9.8 type juggling flaw in Customer Email Verification for WooCommerce lets unauthenticated attackers take over any customer account.

5 min read

CVE-2026-15397: Missing Authorization in Subscriptions for WooCommerce Plugin

A missing authorization vulnerability in the Subscriptions for WooCommerce plugin allows authenticated users with minimal privileges to perform unauthorized actions on WordPress sites running versions up to 2.0.0.

4 min read

CVE-2026-14289: FacturaONE WooCommerce Plugin Allows Unauthenticated File Write

A critical unauthenticated arbitrary file write vulnerability in the FacturaONE para WooCommerce con VeriFactu plugin (before v5.37) allows attackers to write arbitrary files due to an empty cryptographic key in the default unconfigured state.

5 min read
Back to all Security Alerts