Description
The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'User-Agent' header in all versions up to, and including, 5.4.11 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The show_complete_user_agent_tooltip setting must be explicitly enabled by an administrator (disabled by default) for the stored payload to be rendered and executed.
Published: 2026-05-28
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The SlimStat Analytics plugin for WordPress contains a stored cross‑site scripting vulnerability that originates from the User‑Agent HTTP header. The flaw is caused by insufficient sanitization of the header value and a lack of output escaping when the ‘show_complete_user_agent_tooltip’ option is enabled. An unauthenticated attacker can send a specially crafted User‑Agent string containing malicious JavaScript; the value is stored in the database and later rendered in the reports interface where it executes in the victim’s browser. This allows the attacker to steal session cookies, deface the site, or conduct phishing attacks against any user who visits a page that loads the compromised content.

Affected Systems

All instances of the SlimStat Analytics plugin from veronalabs, with a version of 5.4.11 or earlier, are vulnerable. The issue exists only when the plugin configuration option ‘show_complete_user_agent_tooltip’ is turned on, a setting that is disabled by default. The vulnerability is tied to the WordPress site where the plugin is installed and does not affect core WordPress code directly.

Risk and Exploitability

The CVSS base score of 7.2 indicates a high severity condition. Although an explicit EPSS score is not available, the absence of a CISA KEV listing suggests that this flaw has not yet been exploited widely. The attack relies on the victim visiting a page that renders the stored User‑Agent data while the special setting is enabled, meaning the attack scope is limited to users who browse the plugin’s report pages. An attacker can exploit the flaw by sending a malicious User‑Agent header; because the payload is stored, repeated exploitation is possible for any user who visits the affected page. The lack of a readily available exploit tool implies the attacker must craft their own request, but the mechanics are straightforward.

Generated by OpenCVE AI on May 28, 2026 at 08:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the SlimStat Analytics plugin to the latest version that removes the stored XSS issue.
  • If an upgrade is not possible immediately, disable the ‘show_complete_user_agent_tooltip’ setting in the plugin’s configuration to prevent the rendering of User‑Agent data.
  • Manually delete or sanitize any stored User‑Agent values that may contain malicious code, for example by re‑initializing the plugin settings or cleaning the related database entries.

Generated by OpenCVE AI on May 28, 2026 at 08:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 28 May 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Veronalabs
Veronalabs slimstat Analytics
Wordpress
Wordpress wordpress
Vendors & Products Veronalabs
Veronalabs slimstat Analytics
Wordpress
Wordpress wordpress

Thu, 28 May 2026 07:30:00 +0000

Type Values Removed Values Added
Description The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'User-Agent' header in all versions up to, and including, 5.4.11 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The show_complete_user_agent_tooltip setting must be explicitly enabled by an administrator (disabled by default) for the stored payload to be rendered and executed.
Title SlimStat Analytics <= 5.4.11 - Unauthenticated Stored Cross-Site Scripting via User-Agent Header
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Veronalabs Slimstat Analytics
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-28T10:35:50.453Z

Reserved: 2026-05-01T14:38:51.276Z

Link: CVE-2026-7634

cve-icon Vulnrichment

Updated: 2026-05-28T10:35:44.771Z

cve-icon NVD

Status : Deferred

Published: 2026-05-28T08:16:36.990

Modified: 2026-05-28T13:45:25.260

Link: CVE-2026-7634

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T09:00:11Z

Weaknesses