You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.
Description
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
Title: plugin para WordPress StatCounter, Description: El plugin StatCounter – Free Real Time Visitor Stats para WordPress es vulnerable a cross-site scripting almacenado en versiones hasta, e incluyendo, la 2.1.1. Esto se debe a un escape de salida insuficiente en el apodo del autor de la publicación en la función statcounter_addToTags(). La función está enganchada a wp_head y se activa en cada página de publicación individual. Recupera el apodo del autor de la publicación a través de the_author_meta() y lo imprime directamente en un contexto de cadena de JavaScript entre comillas dobles dentro de un bloque <script> sin aplicar esc_js() ni ningún escape equivalente de contexto de JavaScript. Esto hace posible que atacantes autenticados con acceso de nivel de Autor y superior inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que cualquier usuario (incluidos los visitantes no autenticados) acceda a una publicación escrita por el atacante.
[{"vendor":"statcounter","product":"StatCounter – Free Real Time Visitor Stats","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"2.1.1","versionType":"semver","status":"affected"}]}]
New CVE Received from Wordfence5/29/2026 3:16:14 AM
Action
Type
Old Value
New Value
Added
Description
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.