CVE-2026-142462: Wp Post Views <= 1.23.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'entry_views' Post Meta

Published Dec 5, 2026
·
Updated

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

1 affected component
WP Post Views<=1.23.5

Event History

Dec 5, 2026
CVE Published
via MITRE·08:28 AM
Data Sourced
via MITRE·08:28 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Which plugin versions are affected?

All WP Post Views versions up to and including 1.23.5 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203