CVE-2026-142462: Wp Post Views <= 1.23.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'entry_views' Post Meta
The Wp Post Views – WordPress Post views counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'entryviews' parameter in all versions up to, and including, 1.23.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Because the entryviews meta key is unprotected, a Contributor can write arbitrary HTML into it via WordPress core's wpajaxadd-meta handler on their own post, then embed the [WPPV-TOTAL-VIEWS] shortcode in the post body — bypassing save-time wpksespost filtering, which only sanitizes post content, not post meta.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated WordPress user with Contributor-level access or higher can exploit it. The attacker can add malicious HTML to the unprotected entry_views post-meta field on a post they control.
What is required for the injected script to execute?
The attacker must place the [WPPV-TOTAL-VIEWS] shortcode in the post body after adding the malicious entry_views metadata. The script executes when another user accesses the affected page.
Are standard WordPress content filters sufficient to prevent exploitation?
No. The described bypass stores the payload in post metadata rather than post content, so save-time wp_kses_post filtering of post content does not sanitize the entry_views meta value.
Which plugin versions are affected?
All WP Post Views versions up to and including 1.23.5 are affected.