CVE-2025-10138: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in andrex84 This-or-That
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Sweden, Belgium, Austria
CVE-2025-10138: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in andrex84 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
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.
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.