Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-10138: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in andrex84 This-or-That

0
Medium
VulnerabilityCVE-2025-10138cvecve-2025-10138cwe-79
Published: Wed Oct 22 2025 (10/22/2025, 08:27:05 UTC)
Source: CVE Database V5
Vendor/Project: andrex84
Product: This-or-That

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.

AI-Powered Analysis

AILast updated: 10/29/2025, 09:05:41 UTC

Technical Analysis

CVE-2025-10138 is a stored Cross-Site Scripting (XSS) vulnerability identified in the This-or-That plugin for WordPress, affecting all versions up to and including 1.0.4. The vulnerability arises from improper neutralization of input during web page generation, specifically due to insufficient sanitization and escaping of user-supplied attributes in the plugin's 'thisorthat' shortcode. Authenticated attackers with contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages or posts using the shortcode. Because the malicious script is stored persistently, it executes whenever any user views the infected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of the victim. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) because the vulnerability affects resources beyond the attacker’s privileges, potentially impacting other users. No public exploits have been reported yet, but the risk remains significant given the widespread use of WordPress and the plugin. The vulnerability underscores the importance of proper input validation and output encoding in web applications, especially in plugins that accept user-generated content. Since the plugin is actively used in WordPress environments, unpatched sites remain vulnerable to persistent XSS attacks that can lead to session hijacking, defacement, or further exploitation.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to websites running WordPress with the This-or-That plugin installed. Exploitation can lead to unauthorized script execution in the context of the victim’s browser, potentially resulting in session hijacking, theft of sensitive information, unauthorized actions on behalf of users, and reputational damage. Organizations relying on contributor-level user roles for content management are particularly at risk, as attackers only need such privileges to exploit the flaw. This can affect internal portals, public-facing websites, and any web application leveraging the plugin. The impact extends to data confidentiality and integrity but does not directly affect availability. Given the widespread use of WordPress in Europe, especially in small and medium enterprises and public sector websites, the vulnerability could be leveraged for targeted attacks or broader campaigns. Additionally, GDPR considerations mean that data breaches resulting from exploitation could lead to regulatory penalties. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers often develop exploits rapidly after disclosure.

Mitigation Recommendations

European organizations should immediately audit their WordPress installations to identify the presence of the This-or-That plugin and verify the version in use. Since no official patch links are provided, administrators should monitor the vendor’s channels for updates or consider disabling or uninstalling the plugin until a fix is available. Implementing Web Application Firewalls (WAFs) with rules to detect and block malicious payloads targeting the 'thisorthat' shortcode can provide interim protection. Restrict contributor-level user permissions to trusted personnel only and review user roles to minimize the number of users with content publishing capabilities. Employ Content Security Policy (CSP) headers to restrict script execution sources, reducing the impact of injected scripts. Regularly scan websites for XSS vulnerabilities using automated tools and conduct manual code reviews of custom shortcodes or plugins. Educate content contributors about the risks of injecting untrusted content and monitor logs for suspicious activity. Finally, ensure that backups are maintained to allow recovery in case of defacement or compromise.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-09-08T20:27:56.887Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68f897afd59611fbd96978cd

Added to database: 10/22/2025, 8:37:03 AM

Last enriched: 10/29/2025, 9:05:41 AM

Last updated: 10/29/2025, 11:20:11 PM

Views: 22

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats