Skip to main content

This-or-That CVE-2025-10138

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-22 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Inject script via 'thisorthat' shortcode attribute
  3. Exploit
    Payload stored unsanitized in page
  4. Execution
    Higher-privileged user or visitor views page
  5. Impact
    Script 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).

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 – 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

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 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.

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: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 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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche single-purpose WordPress plugin, small install base
Data Quality
3 sources
Confidence: Low

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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