Description
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.
Published: 2025-10-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The vulnerability is in the This-or-That WordPress plugin where the thisorthat shortcode does not properly sanitize or escape user‑supplied attributes. An authenticated user with contributor or higher access can craft a block that contains arbitrary JavaScript, which is then stored and served to other visitors when any post or page containing the shortcode is viewed. This stored cross‑site scripting (CWE‑79) can lead to user‑session hijacking, credential theft, or defacement of the site. The attack does not require a separate code‑execution vector; the injected script runs in the victim’s browser, making it a classic client‑side exploit.

Affected Systems

The affected product is the WordPress plugin This-or-That developed by Andrex84. All releases up to and including version 1.0.4 are vulnerable. Site owners using any of these releases with a user role of contributor or higher are directly impacted, regardless of other configurations.

Risk and Exploitability

With a CVSS base score of 6.4 the issue is considered moderate severity. The EPSS score of less than 1% suggests that exploitation is currently uncommon, and the vulnerability is not listed in CISA’s KEV catalog. Attackers need only authenticate with contributor‑level access to embed malicious payloads through the shortcode interface. Once stored, the script executes for any user who views the affected page, so the threat scope extends to all site visitors. Given the need for authenticated access, the potential impact is limited to sites with contributors who have sufficient write permissions, but the resulting XSS can compromise any visitor.

Generated by OpenCVE AI on April 22, 2026 at 21:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the This-or-That plugin to the latest version (≥ 1.0.5) where the shortcode input sanitization issue has been fixed.
  • Identify and delete or replace any stored content that contains the thisorthat shortcode with potentially malicious attributes, ensuring no unsafe scripts remain on the site.
  • Restrict contributor‑level access to trusted users only, or downgrade contributors who do not need to edit content, and consider using a role‑management plugin to enforce stricter permissions on shortcode usage.

Generated by OpenCVE AI on April 22, 2026 at 21:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Oct 2025 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Wed, 22 Oct 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Oct 2025 08:45:00 +0000

Type Values Removed Values Added
Description 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.
Title This-or-That by André Boekhorst <= 1.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:41:49.254Z

Reserved: 2025-09-08T20:27:56.887Z

Link: CVE-2025-10138

cve-icon Vulnrichment

Updated: 2025-10-22T15:22:56.147Z

cve-icon NVD

Status : Deferred

Published: 2025-10-22T09:15:31.867

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-10138

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T22:00:18Z

Weaknesses