CVE Catalog

CVE-2026-6275

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

The StatCounter plugin for WordPress up to version 2.1.1 has a Stored XSS vulnerability. The statcounter_addToTags() function outputs the post author's nickname in a JavaScript context without proper escaping, allowing authenticated attackers with Author-level access to inject scripts.

Risk Assessment

Attackers can inject malicious scripts that execute on post pages, potentially leading to session data theft or user redirection.

Recommendation

Update the StatCounter plugin to the latest version or temporarily disable the function that outputs the author nickname.

Related vulnerabilities

Original NVD description (English source)

The StatCounter – Free Real Time Visitor Stats plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.1.1 This is due to insufficient output escaping on the post author's nickname in the statcounter_addToTags() function. The function is hooked to wp_head and fires on every single post page. It retrieves the post author's nickname via the_author_meta() and echoes it directly into a JavaScript double-quoted string context inside a <script> block without applying esc_js() or any equivalent JavaScript-context escaping. This makes it possible for authenticated attackers with Author-level access and above to inject arbitrary web scripts into pages that will execute whenever any user (including unauthenticated visitors) accesses a post authored by the attacker.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS