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-10125 Overview
CVE-2025-10125 is a stored Cross-Site Scripting (XSS) vulnerability in the Memberlite Shortcodes plugin for WordPress. The flaw affects all versions up to and including 1.4. It stems from insufficient input sanitization and output escaping on user-supplied attributes passed to the plugin's row shortcode. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts into pages. The scripts execute in the browser of any user who visits the affected page, including administrators. The issue is tracked under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page).
Critical Impact
Authenticated contributors can persist malicious JavaScript into rendered pages, enabling session theft, administrative account takeover, and arbitrary actions performed in the context of authenticated viewers.
Affected Products
- Memberlite Shortcodes plugin for WordPress, all versions through 1.4
- WordPress sites with contributor-level or higher user registration enabled
- Any page or post that renders the plugin's row shortcode
Discovery Timeline
- 2025-09-17 - CVE-2025-10125 published to NVD
- 2026-09-26 - Last updated in NVD database
Technical Details for CVE-2025-10125
Vulnerability Analysis
The vulnerability resides in the row shortcode handler within the Memberlite Shortcodes plugin. When WordPress renders a page containing the [row] shortcode, the plugin reads user-supplied attributes and echoes them into the resulting HTML markup. The plugin fails to sanitize these attribute values on input and does not apply output escaping before emitting them into the DOM. Attackers can therefore inject arbitrary HTML and JavaScript payloads via shortcode attributes.
Because the payload is stored in post content, execution is persistent. Every authenticated or anonymous visitor to the affected page triggers the script. If an administrator views the compromised page, the attacker can inherit privileged session context and perform administrative actions such as creating users, installing plugins, or exfiltrating data.
Root Cause
The root cause is a missing call to WordPress sanitization and escaping primitives, such as sanitize_text_field(), esc_attr(), or esc_html(), on shortcode attributes inside shortcodes/columns.php. The plugin trusts the values provided by shortcode authors and concatenates them directly into HTML output. This maps to CWE-80, improper neutralization of script-related HTML tags.
Attack Vector
Exploitation requires an authenticated account with contributor-level access or higher. The attacker creates or edits a post that embeds the row shortcode with a crafted attribute value containing an HTML event handler or <script> payload. Once the post is published or previewed by a higher-privileged user, the browser executes the injected script under the site's origin. Review the Wordfence Vulnerability Analysis and the WordPress Shortcode Columns Code for the vulnerable implementation.
No verified proof-of-concept code is published. The vulnerability mechanism is described in prose only; see the plugin source and vendor advisory for implementation-level detail.
Detection Methods for CVE-2025-10125
Indicators of Compromise
- Post or page content containing [row] shortcodes with attribute values that include <script>, onerror, onload, javascript:, or encoded HTML sequences.
- Unexpected outbound requests from browsers rendering plugin-driven pages, particularly to attacker-controlled domains.
- New administrative WordPress accounts, altered user roles, or plugin installations correlated with contributor account activity.
- Modified wp_posts rows authored by contributor-level accounts referencing the Memberlite Shortcodes plugin.
Detection Strategies
- Scan the WordPress database wp_posts.post_content column for [row] shortcode instances containing HTML tags, event handler attributes, or URL-encoded script payloads.
- Enable and review WordPress activity logging plugins to correlate post edits by contributor-level accounts with subsequent administrator page views.
- Deploy a Content Security Policy (CSP) in report-only mode to surface script sources that deviate from the site baseline.
Monitoring Recommendations
- Alert on creation or modification of contributor and author accounts, and on privilege changes to editor or administrator roles.
- Monitor web access logs for anomalous requests to /wp-admin/ endpoints originating from sessions that recently loaded shortcode-rendered pages.
- Track plugin and theme installations, and file changes under wp-content/, for unexpected activity following exploitation windows.
How to Mitigate CVE-2025-10125
Immediate Actions Required
- Update the Memberlite Shortcodes plugin to a version later than 1.4 once the vendor publishes a fixed release; consult the WordPress Changeset Overview for patch status.
- Audit contributor, author, editor, and administrator accounts, and remove or reset credentials for any unrecognized users.
- Review recent posts and pages for [row] shortcode content containing HTML or script fragments, and revert malicious edits.
Patch Information
Refer to the Wordfence Vulnerability Analysis and the plugin changeset for remediation status. Apply the patched version as soon as the vendor releases it. Until a fixed version is available, treat the plugin as vulnerable on any site permitting contributor-level registrations.
Workarounds
- Deactivate the Memberlite Shortcodes plugin on sites that do not require the row shortcode functionality.
- Restrict user registration and limit contributor-and-above roles to trusted accounts only.
- Deploy a Web Application Firewall rule that blocks POST requests to /wp-admin/post.php and /wp-admin/post-new.php containing [row] shortcodes with script tags or event handler attributes.
- Enforce a strict Content Security Policy that disallows inline scripts on public-facing pages.
# Configuration example: disable the plugin via WP-CLI until patched
wp plugin deactivate memberlite-shortcodes
# Audit posts for suspicious row shortcode payloads
wp db query "SELECT ID, post_author, post_title FROM wp_posts \
WHERE post_content REGEXP '\\[row[^]]*(<script|onerror=|onload=|javascript:)'"
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

