CVE-2026-142462
Description
The Wp Post Views – WordPress Post views counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'entry_views' 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 entry_views meta key is unprotected, a Contributor can write arbitrary HTML into it via WordPress core's wp_ajax_add-meta handler on their own post, then embed the [WPPV-TOTAL-VIEWS] shortcode in the post body — bypassing save-time wp_kses_post filtering, which only sanitizes post content, not post meta.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| vanpariyar | wp_post_views_post_views_counter_analytics_block | {"endIncluding":"1.23.5"} | |
References
- https://github.com/vanpariyar/wordpress-plugins/pull/17/changes
- https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L12
- https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L13
- https://plugins.trac.wordpress.org/changeset/3843843/wp-post-views/trunk/includes/shortcodes.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a8fe1d1a-002f-45b8-a31d-0699269d0349?source=cve
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.