{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142462","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","state":"PUBLISHED","assignerShortName":"Wordfence","dateReserved":"2026-12-02T16:26:30.070Z","datePublished":"2026-12-05T08:28:32.059Z","dateUpdated":"2026-12-05T08:28:32.059Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence","dateUpdated":"2026-12-05T08:28:32.059Z"},"affected":[{"vendor":"vanpariyar","product":"WP Post Views – Post Views Counter & Analytics Block","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.23.5","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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."}],"title":"Wp Post Views <= 1.23.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'entry_views' Post Meta","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a8fe1d1a-002f-45b8-a31d-0699269d0349?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L13"},{"url":"https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L12"},{"url":"https://github.com/vanpariyar/wordpress-plugins/pull/17/changes"},{"url":"https://plugins.trac.wordpress.org/changeset/3843843/wp-post-views/trunk/includes/shortcodes.php"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation","cweId":"CWE-79","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","baseScore":6.4,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"Wordfence PRISM"}],"timeline":[{"time":"2026-12-04T05:46:04.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-12-04T20:11:11.000Z","lang":"en","value":"Disclosed"}]}}}