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

CVE-2025-58030: Page-list Plugin Stored XSS Vulnerability

CVE-2025-58030 is a stored cross-site scripting vulnerability in the Page-list WordPress plugin that enables attackers to inject malicious scripts. This article covers the technical details, affected versions through 5.8, 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-58030 Overview

CVE-2025-58030 is a stored Cross-Site Scripting (XSS) vulnerability in the webvitaly Page-list WordPress plugin. The flaw affects all versions up to and including 5.8. Authenticated users with low-privilege access can inject malicious scripts that persist in generated pages. When other users or administrators view affected content, the stored payload executes in their browsers. The vulnerability is tracked as [CWE-79] Improper Neutralization of Input During Web Page Generation.

Critical Impact

Attackers with contributor-level access can store JavaScript that executes against site visitors and administrators, enabling session theft, account takeover, and site defacement.

Affected Products

  • webvitaly Page-list WordPress plugin versions through 5.8
  • WordPress sites running the Page-list plugin with multi-author or contributor roles
  • Any WordPress installation permitting low-privilege content submission with this plugin active

Discovery Timeline

  • 2025-09-22 - CVE CVE-2025-58030 published to NVD
  • 2026-10-11 - Last updated in NVD database

Technical Details for CVE-2025-58030

Vulnerability Analysis

The Page-list plugin renders dynamic lists of WordPress pages through shortcode output. The plugin fails to properly neutralize user-controlled input before including it in generated HTML. An authenticated attacker can supply crafted shortcode attributes or page metadata that includes JavaScript payloads. The payload is stored in the WordPress database and rendered to every visitor that loads a page containing the shortcode.

The scope-changed CVSS metric indicates the vulnerability affects resources beyond the vulnerable component itself. A payload stored by a contributor executes within the trust boundary of the administrator's browser session. This enables privilege escalation through session hijacking or forced administrative actions via JavaScript.

Root Cause

The root cause is missing output encoding and input sanitization in the shortcode rendering logic. The plugin accepts attribute values and incorporates them into HTML without applying WordPress sanitization functions such as esc_html(), esc_attr(), or wp_kses(). Input that passes WordPress's generic post-save filters is still unsafe when echoed into attribute or element contexts without context-specific escaping.

Attack Vector

Exploitation requires network access, low privileges, and user interaction. An attacker authenticates with a contributor-level or higher account. The attacker then submits content containing a weaponized Page-list shortcode or page attribute carrying a JavaScript payload. When an editor or administrator previews or publishes the content, the browser executes the stored script with their session context. Refer to the Patchstack XSS Vulnerability Advisory for additional technical context.

Detection Methods for CVE-2025-58030

Indicators of Compromise

  • Unexpected <script> tags, onerror, onload, or javascript: strings persisted in wp_posts content or postmeta
  • Outbound requests from administrator browsers to unfamiliar domains shortly after loading the WordPress admin interface
  • New administrator accounts or modified user roles with no corresponding admin audit trail
  • Page-list shortcode invocations containing unusual attribute values or encoded HTML entities

Detection Strategies

  • Query the WordPress database for shortcode usage of [pagelist] and related variants, inspecting attributes for script content
  • Review web server logs for POST requests to /wp-admin/post.php and /wp-admin/post-new.php from contributor accounts around the suspected injection window
  • Deploy a Web Application Firewall rule to flag HTML event handlers and <script> fragments submitted through authenticated WordPress endpoints

Monitoring Recommendations

  • Monitor WordPress plugin version inventory for Page-list installations at or below version 5.8
  • Alert on creation or modification of posts by low-privilege users containing HTML tags normally stripped by wp_kses_post()
  • Track administrator session anomalies, including unexpected privilege changes or REST API calls originating from browser contexts

How to Mitigate CVE-2025-58030

Immediate Actions Required

  • Update the Page-list plugin to a version newer than 5.8 as soon as the vendor publishes a patched release
  • Audit all existing posts and pages that use Page-list shortcodes for injected script content and remove malicious payloads
  • Restrict contributor and author role assignments and review recent role changes for unauthorized escalation

Patch Information

At the time of publication, the Patchstack advisory lists versions through 5.8 as affected. Site operators should consult the Patchstack XSS Vulnerability Advisory and the WordPress plugin repository for the latest fixed version.

Workarounds

  • Deactivate the Page-list plugin until a patched version is available if the shortcode functionality is non-essential
  • Apply a virtual patch through a WordPress-aware WAF that blocks script-bearing input to Page-list shortcode attributes
  • Temporarily remove publish_posts and edit_posts capabilities from untrusted contributor accounts
  • Enforce a strict Content Security Policy header that disallows inline script execution across the WordPress site
bash
# Content Security Policy example to limit stored XSS impact
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

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.