This-or-That CVE-2025-10138
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryInject script via 'thisorthat' shortcode attribute
-
ExploitPayload stored unsanitized in page
-
ExecutionHigher-privileged user or visitor views page
-
ImpactScript executes in victim 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 account with contributor-level privileges or higher on the target WordPress site (per CVSS PR:L), and the site must have the This-or-That plugin (version ≤1.0.4) installed and active so the 'thisorthat' shortcode is available for the attacker to abuse. The specific trigger is supplying a crafted attribute to the 'thisorthat' shortcode, which is stored without sanitization and rendered without output escaping. Limiting factors: the attacker cannot be fully anonymous (must already have authoring access), and the malicious payload only fires when another user actually loads the injected page - so impact scales with the trust placed in low-tier content contributors; it is not exploitable against a site with no contributor-or-above attacker foothold. |
| Impact | This is a moderate, not high-priority, issue when all signals are weighed together. The CVSS 3.1 base score is 6.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - network-reachable and low-complexity, but critically requiring PR:L, i.e. a valid authenticated account at contributor level or above, which substantially limits the attacker population to users already granted content-authoring privileges. EPSS is low at 0.24% (13th percentile), indicating a low modeled probability of exploitation in the near term, and this is consistent with the absence of both CISA KEV listing and any public proof-of-concept. There is no SSVC decision data in the input. The signals are internally consistent rather than conflicting: a privilege-gated stored XSS with only Low confidentiality/integrity impact and no availability impact, no evidence of active exploitation, and low EPSS all point to a genuine-but-contained vulnerability rather than an urgent emergency. The main caveat is the scope change (S:C): the injected script executes in the browser of any user - potentially an administrator - who views the poisoned page, which is the mechanism that can escalate a contributor into broader site compromise (e.g. session/cookie theft or admin-context actions), so the real-world severity depends heavily on how trusted the lowest content-contributor role is on a given site. |
| Exploit ScenarioDerived | An attacker who holds (or phishes/registers into) a contributor-level WordPress account embeds the plugin's 'thisorthat' shortcode with a malicious attribute containing JavaScript, which is stored unsanitized and unescaped. When an editor, administrator, or site visitor later views the page, the script executes in their browser session, enabling cookie/session theft or actions in the victim's authenticated context. No public exploit code was identified at the time of analysis, but exploitation is low-complexity (AC:L) and requires no user interaction beyond normally viewing the affected page (UI:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting in the This-or-That WordPress plugin through version 1.0.4 lets an authenticated attacker with contributor-level access or above plant arbitrary JavaScript inside pages by abusing unsanitized attributes on the plugin's 'thisorthat' shortcode, with the payload executing for any visitor who later loads the injected page. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4) confirms that authentication is required (PR:L) but no user interaction is needed from the victim's perspective and the scope changes because script runs in the context of the site's visitors. EPSS is low at 0.24% (13th percentile), there is no KEV listing, and no public exploit code has been identified at time of analysis, so this is best treated as a moderate, contributor-trust-boundary issue rather than an urgent remote compromise.
RemediationAI
No vendor-released patch was identified in the provided data, so the primary action is to remove or disable the This-or-That plugin on any site that cannot attest to running a version above 1.0.4; because the vulnerability lives entirely in the shortcode renderer, deactivating the plugin eliminates the attack surface immediately, at the cost of losing the plugin's rating/comparison functionality. If the plugin must remain active, restrict the ability to create or edit posts to trusted roles only - remove or tightly audit Contributor, Author, and Editor accounts, since those are the accounts that can store the payload (PR:L) - and review existing posts for stray 'thisorthat' shortcode attributes by searching the wp_posts table for the shortcode string. A WAF or WordPress security plugin can be configured to strip or reject unexpected attributes on the 'thisorthat' shortcode, but such rules risk false positives on legitimate content and should be tested in a staging environment before enforcement. Administrators who maintain a local fork can apply a targeted code fix around this-or-that.php line 232 by sanitizing incoming shortcode attributes and escaping them on output (for example via esc_attr()/esc_html() and wp_kses_post()), but this is a temporary measure until an official release is published. Monitor the WordPress plugin page and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/22f291eb-d1f8-40d6-b020-f6364164dc40?source=cve for a patched version.
Affected ProductsAI
The This-or-That plugin for WordPress is affected in all versions up to and including 1.0.4; no fixed release is identified in the supplied data. The plugin is distributed through the official WordPress plugin directory and the vulnerable shortcode handling is present in the plugin's main file (this-or-that.php, referenced in the NVD link to the WordPress Trac browser at line 232). No CPE entries were supplied, so coverage should be confirmed by enumerating installed plugins on WordPress sites and checking for any version of This-or-That at or below 1.0.4. The Wordfence threat-intelligence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/22f291eb-d1f8-40d6-b020-f6364164dc40?source=cve serves as the vendor-adjacent reference for the affected version range and the specific shortcode involved.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 improper neutralization of input during web page generation, specifically the stored variant, rooted in the WordPress shortcode API. Shortcodes are parsed by WordPress core and their attributes are passed to the plugin's registered callback; the This-or-That plugin fails to sanitize those attributes on input and fails to escape them on output when it renders the 'thisorthat' shortcode (the relevant code is visible in the plugin Trac repository at this-or-that.php around line 232). Because the malicious string is persisted in post content rather than reflected immediately, the stored payload becomes part of the database and is re-served to every subsequent viewer of that page. The CVSS scope change (S:C) reflects that the injected script runs in the origin of the WordPress site, not the attacker's, which broadens the impact to session tokens, administrative actions performed by browsing privileged users, and any data accessible to the victim's browser context. No CPE strings were provided in the intelligence feed, so affected-product identification relies on the plugin slug and vendor advisory rather than NVD CPE matching.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor account required gives PR:L; stored injection executing in other users' browsers is a scope change (S:C) with Low C/I and no availability impact, no victim interaction needed to store.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The This-or-That plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'thisorthat' shortcode in all versions up to, and including, 1.0.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB