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-47598 Overview
CVE-2025-47598 is a stored Cross-Site Scripting (XSS) vulnerability in the click5 History Log WordPress plugin (history-log-by-click5). The flaw affects all plugin versions up to and including 1.0.13. It results from improper neutralization of user-controlled input during web page generation [CWE-79]. An authenticated attacker with low privileges can inject persistent JavaScript payloads that execute in the browsers of other users who view the affected pages. Because the vulnerability has a scope change component, injected scripts can affect resources beyond the vulnerable component itself.
Critical Impact
Authenticated attackers can store malicious JavaScript that executes when administrators or other users load affected admin or public pages, enabling session theft, forced actions, and administrative account takeover.
Affected Products
- click5 History Log (history-log-by-click5) WordPress plugin, versions up to and including 1.0.13
- WordPress sites with the plugin installed and activated
- Any user session (including administrators) rendering pages that display the injected content
Discovery Timeline
- 2025-06-09 - CVE-2025-47598 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-47598
Vulnerability Analysis
The vulnerability is a stored XSS issue in the History Log by click5 WordPress plugin. Attacker-supplied input is written to persistent storage and later rendered into HTML pages without proper output encoding or sanitization. When a victim views the affected page, the browser executes the attacker's script under the site's origin.
Exploitation requires an authenticated account with low privileges and some user interaction from the victim. The scope change indicator means the injected script can access data or trigger actions outside the vulnerable plugin's security boundary, including impact on higher-privileged administrator sessions.
Root Cause
The plugin fails to sanitize input on write and does not apply context-aware output escaping (such as WordPress esc_html(), esc_attr(), or wp_kses()) when rendering log entries. This allows raw HTML and JavaScript to persist in the database and reach the DOM verbatim.
Attack Vector
The attack is network-based and requires low-privileged authentication plus victim interaction. An attacker submits a crafted payload through an input field processed by the plugin's history logging functionality. When an administrator or other user later loads the log view, the stored payload executes in their session context. Refer to the Patchstack XSS Vulnerability Report for additional advisory details.
Detection Methods for CVE-2025-47598
Indicators of Compromise
- Presence of <script>, onerror=, onload=, or javascript: strings in wp_options, plugin custom tables, or log records created by history-log-by-click5
- Unexpected outbound requests from admin browser sessions to attacker-controlled domains after loading plugin log pages
- New administrator accounts or modified user roles created shortly after log page views by privileged users
- Anomalous session cookie usage from IP addresses that differ from the legitimate administrator
Detection Strategies
- Audit stored plugin data for HTML tags, event handler attributes, and encoded script payloads that should not appear in log entries
- Deploy Content Security Policy (CSP) reporting to surface inline-script violations originating from wp-admin pages
- Correlate WordPress audit logs with web server access logs to identify low-privileged users writing suspicious content immediately before administrator page loads
Monitoring Recommendations
- Monitor authenticated POST requests to plugin endpoints from subscriber, contributor, or author accounts
- Alert on WordPress option or user-meta changes performed from unusual sessions or shortly after admin visits to log pages
- Track browser telemetry for script execution originating from unexpected DOM contexts on plugin-rendered pages
How to Mitigate CVE-2025-47598
Immediate Actions Required
- Deactivate and remove the History Log by click5 plugin until a patched release is confirmed installed
- Rotate WordPress administrator passwords and invalidate active sessions for all privileged users
- Review recently created accounts, role changes, and plugin or theme modifications for signs of abuse
- Restrict low-privileged account registration until the plugin is remediated
Patch Information
At the time of publication, the vulnerability affects all versions of History Log by click5 up to and including 1.0.13. Administrators should consult the Patchstack advisory for the latest fixed version guidance and apply updates as soon as the vendor releases a patched build.
Workarounds
- Uninstall the plugin if no patched version is currently available
- Deploy a Web Application Firewall (WAF) rule set that blocks XSS payloads targeting the plugin's request paths
- Enforce a strict Content Security Policy that disallows inline scripts within the WordPress admin interface
- Limit access to plugin functionality to trusted administrator accounts using role and capability management plugins
# Configuration example: remove the vulnerable plugin via WP-CLI
wp plugin deactivate history-log-by-click5
wp plugin delete history-log-by-click5
# Optional: enforce a restrictive CSP header at the web server layer (nginx)
# add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'" always;
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

