Skip to main content
Vulnerability Database/CVE-2025-10141

CVE-2025-10141: WordPress Digiseller Plugin XSS Vulnerability

CVE-2025-10141 is a stored cross-site scripting flaw in the WordPress Digiseller plugin that allows authenticated attackers to inject malicious scripts. This article covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-10141 Overview

CVE-2025-10141 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Digiseller plugin for WordPress through version 1.3. The flaw resides in the plugin's ds shortcode, which fails to properly sanitize user-supplied attributes and escape output. Authenticated users with contributor-level privileges or higher can inject arbitrary JavaScript into pages. The injected scripts execute in the browser of any visitor who accesses the affected page, enabling session theft, redirection, and administrative action abuse. The weakness is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Contributor-level attackers can store malicious JavaScript that executes against site visitors and administrators, enabling account takeover and content manipulation.

Affected Products

  • Digiseller plugin for WordPress — all versions up to and including 1.3
  • WordPress sites that permit contributor-level or higher registrations
  • Any content rendered via the plugin's ds shortcode

Discovery Timeline

  • 2025-10-15 - CVE-2025-10141 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-10141

Vulnerability Analysis

The Digiseller plugin registers a shortcode named ds that accepts user-controllable attributes. The plugin passes those attributes into the rendered HTML output without applying WordPress sanitization helpers such as esc_attr() or wp_kses(). Because WordPress contributors can author posts containing shortcodes, any authenticated user above subscriber level can embed crafted attribute values. When an editor, administrator, or site visitor loads the resulting page, the browser parses and executes the injected script in the site's origin.

This is a stored XSS pattern: the payload persists in the WordPress database as part of post content and executes on every subsequent page render. The scope change in the vulnerability profile reflects that script execution crosses the plugin boundary into the broader site DOM. Impact includes cookie theft, forced actions via the WordPress REST API, and injection of secondary payloads. See the WordPress plugin source reference for the affected shortcode handler.

Root Cause

The shortcode callback concatenates attribute values into HTML without escaping. WordPress provides esc_attr(), esc_html(), and wp_kses_post() for exactly this purpose, but the vulnerable code path omits them. Insufficient validation of shortcode attributes is the direct root cause.

Attack Vector

An attacker registers or compromises a contributor-level account. They create or edit a post containing the ds shortcode with an attribute payload such as an event handler carrying JavaScript. Once an administrator previews or publishes the post, or a visitor loads it, the script executes with the privileges of the viewing user.

No verified public exploit code is available. See the Wordfence vulnerability analysis for additional technical context.

Detection Methods for CVE-2025-10141

Indicators of Compromise

  • Post or page content containing the ds shortcode with suspicious attribute values such as onerror=, onload=, <script>, or javascript: URIs
  • Unexpected outbound requests from administrator browsers to attacker-controlled domains after loading posts
  • New or modified WordPress user accounts created shortly after an administrator accessed a page containing the ds shortcode
  • Modifications to posts authored by low-privilege contributor accounts

Detection Strategies

  • Query the wp_posts table for post_content entries matching the ds shortcode and inspect attribute values for HTML or script tokens
  • Review web server logs for POST requests to /wp-admin/post.php or /wp-json/wp/v2/posts from contributor accounts introducing shortcode markup
  • Monitor the WordPress audit trail for contributor-authored content that was later published by elevated users

Monitoring Recommendations

  • Enable a Web Application Firewall (WAF) with rules targeting XSS payloads in shortcode attributes
  • Alert on creation of new administrator accounts, plugin installations, or theme file edits following post publication events
  • Track access patterns for contributor accounts, especially new registrations and bursts of post creation

How to Mitigate CVE-2025-10141

Immediate Actions Required

  • Deactivate the Digiseller plugin on WordPress installations running version 1.3 or earlier until a patched release is confirmed
  • Audit all existing posts containing the ds shortcode and remove or sanitize attribute values
  • Review contributor-level and higher accounts for unauthorized or suspicious registrations and reset credentials where warranted

Patch Information

Refer to WordPress Changeset #3394885 and the Digiseller plugin page for the current remediation status. Update to the latest available version as soon as the vendor publishes a fixed release. If no fixed version is available, keep the plugin deactivated.

Workarounds

  • Restrict contributor and author registration or require manual approval of new accounts to limit the pool of attackers
  • Deploy a WordPress-aware WAF to block shortcode attributes containing HTML event handlers or script tokens
  • Remove the ds shortcode usage from published content and disable the shortcode via a remove_shortcode('ds') snippet in a site-specific plugin
bash
# Disable the vulnerable shortcode via WP-CLI until a patch is applied
wp plugin deactivate digiseller
wp eval "remove_shortcode('ds');"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.