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-47607 Overview
CVE-2025-47607 is a stored Cross-Site Scripting (XSS) vulnerability in the AppJetty Show All Comments WordPress plugin (show-all-comments-in-one-page). The flaw affects all plugin versions up to and including 7.0.1. It stems from improper neutralization of user-supplied input during web page generation [CWE-79], allowing authenticated attackers with high privileges to inject persistent JavaScript payloads. Executed scripts run in the browser context of any user who views the affected page, including administrators.
Critical Impact
Stored XSS enabling session hijacking, administrative action abuse, and client-side code execution against any WordPress user visiting a page rendering attacker-controlled comment data.
Affected Products
- AppJetty Show All Comments (show-all-comments-in-one-page) WordPress plugin
- All versions from initial release through 7.0.1
- WordPress sites with the plugin installed and active
Discovery Timeline
- 2025-05-07 - CVE-2025-47607 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47607
Vulnerability Analysis
The plugin fails to sanitize or encode input before rendering it inside generated HTML output. An authenticated user with elevated privileges can store malicious payloads that execute whenever the affected comment view is loaded. Because the payload persists in the database, exploitation does not require continued attacker interaction. The scope changes from the attacker's privilege context to the victim's browser, enabling impact beyond the attacker's own permissions.
Root Cause
The root cause is missing output encoding on user-controlled fields rendered by the plugin's comment aggregation views. The plugin treats stored content as trusted and emits it directly into the HTML response. Standard WordPress escaping functions such as esc_html(), esc_attr(), or wp_kses_post() are not applied at the sink, enabling script injection via crafted comment or configuration data.
Attack Vector
Exploitation requires an authenticated session with high privileges and user interaction from the victim who loads the rendered page. An attacker submits a payload containing <script> tags or event handlers through an input field that the plugin later renders without encoding. When administrators or other users visit the affected page, the script executes in their browser session. Attack consequences include cookie theft, forced actions through WordPress admin APIs, and persistence through additional plugin or user modifications. See the Patchstack WordPress XSS Vulnerability advisory for additional technical context.
Detection Methods for CVE-2025-47607
Indicators of Compromise
- Comment or plugin configuration records containing <script>, onerror=, onload=, or javascript: sequences
- Unexpected outbound HTTP requests from administrator browsers to attacker-controlled domains after visiting WordPress admin pages
- New or modified WordPress administrator accounts created shortly after admin page visits
- Unexpected plugin, theme, or user role changes without a corresponding audit trail
Detection Strategies
- Query the wp_comments and plugin option tables for HTML tags and JavaScript URI schemes in stored values
- Monitor web server logs for POST requests to plugin endpoints followed by suspicious GET traffic to administrative pages
- Deploy Content Security Policy (CSP) reporting to surface inline script violations originating from the plugin's rendered pages
Monitoring Recommendations
- Alert on creation of new administrator accounts or role elevation events in WordPress audit logs
- Track browser-side anomalies such as unexpected XHR/fetch calls to WordPress REST endpoints from admin sessions
- Review installed plugin inventories to confirm show-all-comments-in-one-page versions across managed WordPress sites
How to Mitigate CVE-2025-47607
Immediate Actions Required
- Update the Show All Comments plugin to a version later than 7.0.1 once released by AppJetty
- Deactivate and remove the plugin if a patched version is not yet available and the functionality is non-essential
- Audit existing comment and plugin configuration data for injected script payloads and remove malicious entries
- Rotate credentials and WordPress authentication cookies for administrators who accessed affected pages
Patch Information
At the time of publication, the vulnerability affects versions up to and including 7.0.1. Monitor the Patchstack advisory and the WordPress plugin repository for a fixed release from AppJetty.
Workarounds
- Restrict plugin-related administrative capabilities to a minimal set of trusted accounts
- Deploy a web application firewall rule that blocks HTML tags and JavaScript URI schemes in requests to plugin endpoints
- Enforce a strict Content Security Policy that disallows inline scripts on WordPress admin and comment rendering pages
- Require multi-factor authentication for all WordPress accounts with privilege to submit content processed by the plugin
# Example WordPress CLI commands to inventory and disable the vulnerable plugin
wp plugin list --name=show-all-comments-in-one-page --fields=name,status,version
wp plugin deactivate show-all-comments-in-one-page
wp plugin delete show-all-comments-in-one-page
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

