Skip to main content

Ultimate Post CVE-2026-13253

| EUVDEUVD-2026-42520 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-09 Wordfence GHSA-fmqh-3qcq-wcxg
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 with contributor-level WordPress credentials
  2. Delivery
    Edit or create page with advanced-search block
  3. Exploit
    Inject XSS payload into moreResultsText attribute
  4. Execution
    Page saved with unescaped data-viewmoretext attribute value
  5. Persist
    Victim visits injected page
  6. Impact
    Injected JavaScript executes in victim's browser 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

Exploitation requires an authenticated WordPress account with contributor-level privileges or higher (Author, Editor, Administrator). The attacker must be able to create or edit a page or post that includes the ultimate-post/advanced-search Gutenberg block and control its moreResultsText block attribute value. The vulnerability is in the block render path, so the block must be present on a page that is published and accessible to site visitors for the stored payload to fire. Sites that do not grant contributor or higher access to untrusted users are not at realistic risk. The advanced-search block itself must be in use - sites not using PostX or not deploying this specific block are unaffected. There is no unauthenticated exploitation path. Limiting factors: contributor-level account required (not a default public role), block must be present on a published page, victim must visit that specific page.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) scores 6.4 Medium. The scope change (S:C) reflects that XSS impacts the victim's browser context beyond the WordPress application itself, which is appropriate. However, the UI:N rating warrants scrutiny: the CVE description explicitly states execution occurs 'whenever a user accesses an injected page,' implying a passive victim interaction requirement more consistent with UI:R in strict CVSS 3.1 interpretation - this represents a potential scoring discrepancy that defenders should note. The PR:L rating accurately reflects the contributor-level authentication requirement, which is a meaningful real-world barrier since contributor accounts are not granted by default in most WordPress sites. No EPSS probability data was provided and the vulnerability is not listed in CISA KEV, suggesting no confirmed active exploitation at time of analysis. No public exploit code has been identified. The primary real-world risk is session hijacking, credential theft via phishing overlays, or defacement targeting visitors of affected WordPress sites - impact is bounded by the XSS confidentiality/integrity scope. This is a genuine but not urgent priority: high for sites granting contributor access to untrusted users, lower for tightly controlled editorial workflows.

Exploit ScenarioDerived

An attacker with a contributor-level WordPress account edits or creates a page containing the ultimate-post/advanced-search block and sets the moreResultsText attribute to a payload such as '" onmouseover="alert(document.cookie)' or an equivalent script injection string. Because the value bypasses wp_kses() sanitization without esc_attr() encoding, the double quote breaks out of the data-viewmoretext attribute context and the injected event handler or script tag is stored in page content. When any site visitor subsequently loads the page, the payload executes in their browser, enabling session cookie theft, credential harvesting via fake login overlays, or redirection to attacker-controlled infrastructure. No public exploit code has been identified, but the technique is well-understood and requires no special tooling.

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

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Stored Cross-Site Scripting in the Ultimate Post (PostX) WordPress plugin versions up to and including 5.0.31 allows authenticated contributors to permanently inject arbitrary JavaScript into WordPress pages via the 'moreResultsText' attribute of the advanced-search Gutenberg block. The root cause is a sanitization gap: the render callback applies wp_kses() which strips disallowed HTML tags but does not encode special characters like double quotes in attribute context, and the unsanitized value is then concatenated directly into the data-viewmoretext HTML attribute without esc_attr(), allowing attribute boundary escape. No public exploit code has been identified at time of analysis, and no EPSS data was provided, but the contributor-level access requirement represents the primary real-world friction point for exploitation.

RemediationAI

A fix has been committed upstream as WordPress.org plugin changeset 3598669 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3598669%40ultimate-post&new=3598669%40ultimate-post); however, the exact patched release version is not independently confirmed from available data - site administrators should update to the latest available version of the Ultimate Post / PostX plugin beyond 5.0.31 and verify via the WordPress admin plugin page. The correct code-level fix is to wrap the moreResultsText attribute value through esc_attr() before concatenation into the data-viewmoretext HTML attribute, replacing reliance on wp_kses() alone for attribute-context output. As a compensating control where updating immediately is not possible, administrators should audit and restrict contributor-level user roles, removing or demoting untrusted contributor accounts, since contributor access is the hard prerequisite for exploitation. Restricting the use of the advanced-search block to trusted editors via block permissions (e.g., through a roles capability plugin) is a viable interim mitigation with minimal editorial workflow impact.

Affected VersionsENISA

Post Grid Gutenberg Blocks – PostX 0 ≤5.0.31

Affected Packages

euvd post_grid_gutenberg_blocks_postx 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 vulnerability resides in the Advanced_Search::content() render callback of the 'ultimate-post' WordPress plugin (CPE: cpe:2.3:a:wpxpo:post_grid_gutenberg_blocks_-_postx:*:*:*:*:*:*:*:*), marketed under both the 'Ultimate Post' and 'PostX' branding. The block editor exposes a 'moreResultsText' block attribute that is passed through wp_kses(), a WordPress function designed to strip disallowed HTML tags. However, wp_kses() is not an attribute-context encoder - it does not escape double quotes or other HTML special characters in text that will appear inside an HTML attribute value. The vulnerable code, visible in the WordPress.org trac browser for versions 5.0.27 and 5.0.28 at blocks/Advanced_Search.php line 116 and line 108, concatenates this insufficiently sanitized value directly into the data-viewmoretext HTML attribute without wrapping it through esc_attr(). This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) sink: context mismatch between the sanitization function (HTML body context) and the output destination (HTML attribute context). The stored nature means the payload persists in the post content and fires for every subsequent visitor.

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 5.4 MEDIUM

UI:R applied because victim must visit the injected page; all other metrics match provided vector; PR:L reflects mandatory contributor authentication.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/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 Ultimate Post plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'moreResultsText' block attribute of the ultimate-post/advanced-search block in versions up to and including 5.0.31. This is due to insufficient input sanitization and output escaping in the Advanced_Search::content() render callback: the attribute value is filtered with wp_kses(), which strips disallowed HTML tags but does NOT escape HTML special characters such as double quotes in plain text, and the result is then concatenated directly into the data-viewmoretext HTML attribute without esc_attr(). 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress plugin with 100k+ active installs
Data Quality
5 sources
Confidence: Medium

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 0.2%
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