The Wp Post Views – WordPress Post views counter plugin for WordPress is vulnerable to Stored...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142462
- 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
- https://github.com/advisories/GHSA-h8jf-p95x-4w2m