CVE-2025-4589: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nackle2k10 Bon Toolkit
The Bon Toolkit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bt-map' shortcode in all versions up to, and including, 1.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
CVE-2025-4589 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Bon Toolkit plugin for WordPress, specifically affecting all versions up to and including 1.3.2. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. The issue lies in the 'bt-map' shortcode, which fails to adequately sanitize and escape user-supplied attributes before rendering them on web pages. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges (authenticated contributor or above), no user interaction, and scope change due to impact on other users. No official patches or fixes have been released at the time of publication, and no known exploits have been observed in the wild. The vulnerability was reserved and published in May 2025, with enrichment from CISA and Wordfence threat intelligence. The plugin’s widespread use in WordPress sites, combined with the common practice of allowing contributor-level users to add content, increases the risk of exploitation. The vulnerability’s exploitation could compromise site integrity and user trust, making timely mitigation critical.
Potential Impact
The primary impact of CVE-2025-4589 is the compromise of confidentiality and integrity within affected WordPress sites. Exploitation allows authenticated contributors to inject malicious scripts that execute in the browsers of site visitors and administrators, potentially leading to session hijacking, theft of sensitive information, unauthorized actions, or defacement. This can damage the reputation of organizations, lead to data breaches, and facilitate further attacks such as privilege escalation or malware distribution. Since the vulnerability requires contributor-level access, insider threats or compromised contributor accounts pose a significant risk. The scope of impact extends to all users who view the infected pages, increasing the potential damage. Although availability is not directly affected, the indirect consequences of trust erosion and potential regulatory penalties can be severe. Organizations relying on the Bon Toolkit plugin for critical or high-traffic websites face increased risk, especially if contributor permissions are broadly assigned. The absence of known exploits in the wild currently limits immediate widespread damage, but the medium severity score and ease of exploitation by authenticated users necessitate prompt action to prevent future attacks.
Mitigation Recommendations
To mitigate CVE-2025-4589, organizations should first restrict contributor-level permissions to trusted users only, minimizing the risk of malicious script injection. Implement strict input validation and output encoding for all user-supplied data, especially within the 'bt-map' shortcode, to prevent injection of executable scripts. Site administrators should monitor and audit content submitted by contributors for suspicious code or anomalies. Until an official patch is released, consider disabling or removing the Bon Toolkit plugin if it is not essential. Employ Web Application Firewalls (WAFs) with custom rules to detect and block XSS payloads targeting the vulnerable shortcode. Regularly update WordPress core and plugins to incorporate security fixes as they become available. Educate contributors about secure content submission practices and the risks of injecting scripts. Additionally, implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the site. Finally, maintain comprehensive backups and incident response plans to quickly recover from potential compromises.
Affected Countries
United States, United Kingdom, Germany, France, Canada, Australia, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-4589: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nackle2k10 Bon Toolkit
Description
The Bon Toolkit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bt-map' shortcode in all versions up to, and including, 1.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
CVE-2025-4589 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Bon Toolkit plugin for WordPress, specifically affecting all versions up to and including 1.3.2. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. The issue lies in the 'bt-map' shortcode, which fails to adequately sanitize and escape user-supplied attributes before rendering them on web pages. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges (authenticated contributor or above), no user interaction, and scope change due to impact on other users. No official patches or fixes have been released at the time of publication, and no known exploits have been observed in the wild. The vulnerability was reserved and published in May 2025, with enrichment from CISA and Wordfence threat intelligence. The plugin’s widespread use in WordPress sites, combined with the common practice of allowing contributor-level users to add content, increases the risk of exploitation. The vulnerability’s exploitation could compromise site integrity and user trust, making timely mitigation critical.
Potential Impact
The primary impact of CVE-2025-4589 is the compromise of confidentiality and integrity within affected WordPress sites. Exploitation allows authenticated contributors to inject malicious scripts that execute in the browsers of site visitors and administrators, potentially leading to session hijacking, theft of sensitive information, unauthorized actions, or defacement. This can damage the reputation of organizations, lead to data breaches, and facilitate further attacks such as privilege escalation or malware distribution. Since the vulnerability requires contributor-level access, insider threats or compromised contributor accounts pose a significant risk. The scope of impact extends to all users who view the infected pages, increasing the potential damage. Although availability is not directly affected, the indirect consequences of trust erosion and potential regulatory penalties can be severe. Organizations relying on the Bon Toolkit plugin for critical or high-traffic websites face increased risk, especially if contributor permissions are broadly assigned. The absence of known exploits in the wild currently limits immediate widespread damage, but the medium severity score and ease of exploitation by authenticated users necessitate prompt action to prevent future attacks.
Mitigation Recommendations
To mitigate CVE-2025-4589, organizations should first restrict contributor-level permissions to trusted users only, minimizing the risk of malicious script injection. Implement strict input validation and output encoding for all user-supplied data, especially within the 'bt-map' shortcode, to prevent injection of executable scripts. Site administrators should monitor and audit content submitted by contributors for suspicious code or anomalies. Until an official patch is released, consider disabling or removing the Bon Toolkit plugin if it is not essential. Employ Web Application Firewalls (WAFs) with custom rules to detect and block XSS payloads targeting the vulnerable shortcode. Regularly update WordPress core and plugins to incorporate security fixes as they become available. Educate contributors about secure content submission practices and the risks of injecting scripts. Additionally, implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the site. Finally, maintain comprehensive backups and incident response plans to quickly recover from potential compromises.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-12T15:17:10.936Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0fb1484d88663aec6bf
Added to database: 5/20/2025, 6:59:07 PM
Last enriched: 2/27/2026, 2:39:49 PM
Last updated: 3/24/2026, 11:58:14 PM
Views: 54
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.