Skip to main content

WP Post Views EUVDEUVD-2026-145192

| CVE-2026-142462 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-05 Wordfence GHSA-h8jf-p95x-4w2m
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor
  2. Delivery
    Write HTML payload to entry_views post meta
  3. Exploit
    Embed [WPPV-TOTAL-VIEWS] shortcode in post
  4. Execution
    Script executes when victim views page
  5. Impact
    Hijack admin session / act in victim context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account with contributor-level capability or higher (CVSS PR:L) on a site running WP Post Views version 1.23.5 or earlier. The specific chain: the 'entry_views' post meta key is not registered as protected, so the attacker uses WordPress core's wp_ajax_add-meta AJAX handler to write raw HTML into entry_views on a post they own, then embeds the [WPPV-TOTAL-VIEWS] shortcode in the post body; this deliberately bypasses save-time wp_kses_post filtering, which sanitizes post content but not post meta. Payload execution requires a user (visitor or admin) to subsequently view the injected page. Limiting factors: the site must permit contributor-or-above accounts to untrusted users (sites with no open registration or author-only publishing are not exposed), and the issue is remediated in 1.23.6.

Impact

This is a genuine but bounded risk rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4 Medium) and the description agree: exploitation is network-reachable and low-complexity, but requires PR:L - a contributor-level authenticated account - so this is explicitly authenticated, not an unauthenticated internet-wide threat. The scope change (S:C) is the aggravating factor: a low-privileged contributor can plant a stored payload that executes in the browser of any visitor, including a higher-privileged administrator viewing the post, which is the realistic path to privilege escalation. Decision signals are consistent and moderate: the vuln.today priority is 'this_month' (not act_now/emergency), it is NOT listed in CISA KEV, and no EPSS score was provided in the input, so widespread automated exploitation cannot be inferred. No public exploit code is present in the input - the references are a Wordfence advisory, the plugin source on plugins.trac, and the fix PR, not a weaponized PoC. The one signal to verify independently is deployment exposure: risk is only material on sites that allow untrusted users to register at contributor level or above, which many brochure/single-author sites do not. Net: a real this-month patching item, not a drop-everything issue, with impact concentrated where contributor registration is open.

Exploit ScenarioDerived

On a site that grants contributor-level accounts (e.g. a multi-author blog), an attacker with such an account creates a post and uses WordPress core's wp_ajax_add-meta handler to write an arbitrary HTML/JavaScript payload into the unprotected 'entry_views' post meta on their own post, then inserts the [WPPV-TOTAL-VIEWS] shortcode into the post body. When an administrator or any visitor later views that post, the shortcode echoes the meta value unescaped and the script runs in their session. No public exploit code is present in the input, though the Wordfence advisory and the fix diff describe the mechanism precisely.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 05, 2026

WP Post Views (Post Views Counter & Analytics Block) versions up to and including 1.23.5 store the 'entry_views' post meta value without sanitization and print it unescaped in both the [WPPV-TOTAL-VIEWS] shortcode and the Post Views block, giving stored cross-site scripting. An authenticated attacker holding contributor-level access or above can write arbitrary HTML into entry_views on a post they own through WordPress core's wp_ajax_add-meta handler - post meta is not covered by the save-time wp_kses_post filtering applied to post content - and then place the shortcode in the post body so the script runs when any visitor or administrator opens the page. The issue is remediated in 1.23.6 according to the plugin's changelog and the upstream pull request; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the practical exposure is limited to sites that grant contributor-or-above accounts to untrusted users.

RemediationAI

Vendor-released patch: 1.23.6, published 04 December 2026, which sanitizes the entry_views post meta on save via a sanitize_post_meta_entry_views filter (absint) and escapes/casts the value in the [WPPV-TOTAL-VIEWS] shortcode and Post Views block output; upgrade from 1.23.5 or earlier to 1.23.6. The fix is visible in upstream pull request https://github.com/vanpariyar/wordpress-plugins/pull/17/changes and changeset https://plugins.trac.wordpress.org/changeset/3843843/wp-post-views/trunk/includes/shortcodes.php, with the pre-patch vulnerable lines at https://plugins.trac.wordpress.org/browser/wp-post-views/tags/1.23.5/includes/shortcodes.php#L12 and #L13. Because the output side is now cast and escaped, the patch also neutralizes malicious entry_views values that were written before the update, so a meta cleanup pass is not required for safety. Compensating control while patching: review which roles can create or edit posts, since the chain requires a contributor-or-above account - sites that do not grant those roles to untrusted users are not exposed, and removing or tightly restricting contributor accounts closes the injection path at the cost of editorial workflow changes.

Affected VersionsENISA

WP Post Views – Post Views Counter & Analytics Block 0 ≤1.23.5

Affected Packages

euvd wp_post_views_post_views_counter_analytics_block no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-79 cross-site scripting defect in a PHP-based WordPress plugin. WordPress distinguishes post content from post meta: wp_kses_post sanitizes post_content on save, but custom meta keys such as 'entry_views' pass through only if they are registered with a sanitize_callback or protected with an auth_callback. Because entry_views is unprotected, the core wp_ajax_add-meta AJAX endpoint accepts raw HTML for that key from a user who can edit the target post, and the plugin later echoes the stored value without escaping in the shortcode output (includes/shortcodes.php) and in the block render callback (includes/blocks.php). The CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N reflects a low-privileged authenticated actor, no user interaction on the attacker's side, and a scope change because the injected script executes in the context of other users browsing the site. The upstream fix (pull request 17, changeset 3843843) registers a sanitize_post_meta_entry_views filter mapping to absint so the meta value is coerced to a non-negative integer on save, and changes output to esc_html( number_format_i18n( absint( $view_post_meta ) ) ) in the shortcode and absint() in the block renderer, so previously stored malicious meta is rendered as a number rather than executed.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor authentication is required so PR:L; stored injection needs no attacker-side complexity (AC:L); payload executes in another user's browser, a scope change (S:C) with low confidentiality and integrity impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Medium
moderately popular WordPress post-views counter plugin, not universally deployed
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy