CVE-2025-13840: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bobvanoorschot BUKAZU Search widget
The BUKAZU Search widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'shortcode' parameter of the 'bukazu_search' shortcode in all versions up to, and including, 3.3.2 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
The vulnerability CVE-2025-13840 affects the BUKAZU Search widget plugin for WordPress, specifically versions up to and including 3.3.2. It is a stored cross-site scripting (XSS) flaw categorized under CWE-79, caused by improper neutralization of input during web page generation. The issue lies in the insufficient sanitization and escaping of the 'shortcode' parameter within the 'bukazu_search' shortcode, which allows authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code. Because the malicious script is stored persistently, it executes every time a user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability requires authentication but no user interaction to trigger the exploit, and the attack complexity is low. The CVSS 3.1 score of 6.4 reflects a medium severity with network attack vector, low complexity, privileges required, no user interaction, and a scope change due to affecting other users viewing the page. No patches or known exploits are currently available, highlighting the need for immediate attention from site administrators. This vulnerability is particularly dangerous in environments where multiple users have contributor or higher roles, such as community blogs or multi-author websites. The lack of output escaping and input validation in the plugin's shortcode processing is the root cause, emphasizing the importance of secure coding practices in WordPress plugin development.
Potential Impact
The exploitation of this vulnerability can lead to significant security risks for organizations running WordPress sites with the BUKAZU Search widget installed. Attackers with contributor-level access can inject malicious scripts that execute in the browsers of any visitors to the compromised pages, potentially leading to session hijacking, theft of sensitive information such as authentication tokens or personal data, defacement of website content, or redirection to malicious sites. This undermines the confidentiality and integrity of the website and its users. Although availability is not directly impacted, the reputational damage and potential data breaches can have severe business consequences. The scope of impact extends beyond the attacker’s privileges because the injected script affects all users viewing the page, increasing the risk profile. Organizations with multi-author blogs, community-driven content, or contributor roles assigned to untrusted users are at higher risk. The medium CVSS score indicates a moderate but actionable threat that should not be ignored, especially given the widespread use of WordPress and the plugin's presence. Failure to address this vulnerability could facilitate further attacks such as phishing, malware distribution, or privilege escalation within the website environment.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately review and restrict user roles, limiting Contributor-level access to trusted individuals only. Administrators should monitor and audit all shortcode usage and user-generated content for suspicious or unexpected scripts. Until an official patch is released by the plugin vendor, consider disabling the BUKAZU Search widget plugin or removing the vulnerable shortcode from pages. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting the shortcode parameter. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. Additionally, site owners should enforce strict input validation and output encoding practices in custom code and plugins. Regularly update WordPress core, themes, and plugins to incorporate security fixes. Finally, maintain backups and incident response plans to quickly recover from any successful exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, Netherlands, France, India, Brazil, Japan, Italy, Spain
CVE-2025-13840: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bobvanoorschot BUKAZU Search widget
Description
The BUKAZU Search widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'shortcode' parameter of the 'bukazu_search' shortcode in all versions up to, and including, 3.3.2 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
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-13840 affects the BUKAZU Search widget plugin for WordPress, specifically versions up to and including 3.3.2. It is a stored cross-site scripting (XSS) flaw categorized under CWE-79, caused by improper neutralization of input during web page generation. The issue lies in the insufficient sanitization and escaping of the 'shortcode' parameter within the 'bukazu_search' shortcode, which allows authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code. Because the malicious script is stored persistently, it executes every time a user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability requires authentication but no user interaction to trigger the exploit, and the attack complexity is low. The CVSS 3.1 score of 6.4 reflects a medium severity with network attack vector, low complexity, privileges required, no user interaction, and a scope change due to affecting other users viewing the page. No patches or known exploits are currently available, highlighting the need for immediate attention from site administrators. This vulnerability is particularly dangerous in environments where multiple users have contributor or higher roles, such as community blogs or multi-author websites. The lack of output escaping and input validation in the plugin's shortcode processing is the root cause, emphasizing the importance of secure coding practices in WordPress plugin development.
Potential Impact
The exploitation of this vulnerability can lead to significant security risks for organizations running WordPress sites with the BUKAZU Search widget installed. Attackers with contributor-level access can inject malicious scripts that execute in the browsers of any visitors to the compromised pages, potentially leading to session hijacking, theft of sensitive information such as authentication tokens or personal data, defacement of website content, or redirection to malicious sites. This undermines the confidentiality and integrity of the website and its users. Although availability is not directly impacted, the reputational damage and potential data breaches can have severe business consequences. The scope of impact extends beyond the attacker’s privileges because the injected script affects all users viewing the page, increasing the risk profile. Organizations with multi-author blogs, community-driven content, or contributor roles assigned to untrusted users are at higher risk. The medium CVSS score indicates a moderate but actionable threat that should not be ignored, especially given the widespread use of WordPress and the plugin's presence. Failure to address this vulnerability could facilitate further attacks such as phishing, malware distribution, or privilege escalation within the website environment.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately review and restrict user roles, limiting Contributor-level access to trusted individuals only. Administrators should monitor and audit all shortcode usage and user-generated content for suspicious or unexpected scripts. Until an official patch is released by the plugin vendor, consider disabling the BUKAZU Search widget plugin or removing the vulnerable shortcode from pages. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting the shortcode parameter. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. Additionally, site owners should enforce strict input validation and output encoding practices in custom code and plugins. Regularly update WordPress core, themes, and plugins to incorporate security fixes. Finally, maintain backups and incident response plans to quickly recover from any successful exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-01T18:49:41.802Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 693b9183650da22753edbb2e
Added to database: 12/12/2025, 3:52:35 AM
Last enriched: 2/27/2026, 10:20:38 AM
Last updated: 3/25/2026, 6:46:16 AM
Views: 78
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 more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.