CVE-2025-11873: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in eflyjason WP BBCode
The WP BBCode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'url' shortcode in all versions up to, and including, 1.8.1 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-11873 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WP BBCode plugin for WordPress, maintained by eflyjason. The vulnerability exists in all versions up to and including 1.8.1 due to insufficient sanitization and escaping of user-supplied input in the 'url' shortcode attribute. Specifically, authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages or posts by manipulating the shortcode parameters. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, cookies, or enabling further attacks such as privilege escalation or phishing. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects all versions of WP BBCode up to 1.8.1, a plugin used to extend WordPress functionality by allowing BBCode formatting. Given WordPress's widespread adoption, this vulnerability poses a risk to many websites that use this plugin and allow contributor-level users to post content.
Potential Impact
The primary impact of CVE-2025-11873 is the potential for attackers with contributor-level access to inject persistent malicious scripts into WordPress pages or posts. This can lead to session hijacking, theft of sensitive user data, defacement, or redirection to malicious sites. Since the vulnerability affects the confidentiality and integrity of user data and site content, it can undermine user trust and damage organizational reputation. The scope change in the CVSS vector indicates that the vulnerability can affect components beyond the initially compromised plugin, potentially impacting the entire WordPress site and its users. Although the attack requires authenticated access, contributor roles are common in many WordPress deployments, increasing the attack surface. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers often target popular CMS platforms. Organizations relying on this plugin for content formatting are at risk of targeted attacks, especially those with multiple contributors or public-facing content submission.
Mitigation Recommendations
To mitigate CVE-2025-11873, organizations should first check for and apply any official patches or updates from the WP BBCode plugin vendor once available. In the absence of patches, administrators should restrict contributor-level permissions to trusted users only and consider temporarily disabling or removing the WP BBCode plugin to eliminate the attack vector. Implementing Web Application Firewalls (WAFs) with rules to detect and block suspicious shortcode input patterns can provide interim protection. Additionally, site administrators should audit existing content for injected scripts and sanitize or remove any suspicious entries. Enforcing Content Security Policy (CSP) headers can reduce the impact of injected scripts by restricting script execution sources. Regular security training for content contributors to avoid unsafe input practices and monitoring logs for unusual activity related to shortcode usage are recommended. Finally, consider alternative plugins with better security track records or native WordPress features to replace WP BBCode functionality.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, Brazil, France, Japan, Netherlands, Italy
CVE-2025-11873: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in eflyjason WP BBCode
Description
The WP BBCode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'url' shortcode in all versions up to, and including, 1.8.1 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-11873 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WP BBCode plugin for WordPress, maintained by eflyjason. The vulnerability exists in all versions up to and including 1.8.1 due to insufficient sanitization and escaping of user-supplied input in the 'url' shortcode attribute. Specifically, authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages or posts by manipulating the shortcode parameters. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, cookies, or enabling further attacks such as privilege escalation or phishing. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects all versions of WP BBCode up to 1.8.1, a plugin used to extend WordPress functionality by allowing BBCode formatting. Given WordPress's widespread adoption, this vulnerability poses a risk to many websites that use this plugin and allow contributor-level users to post content.
Potential Impact
The primary impact of CVE-2025-11873 is the potential for attackers with contributor-level access to inject persistent malicious scripts into WordPress pages or posts. This can lead to session hijacking, theft of sensitive user data, defacement, or redirection to malicious sites. Since the vulnerability affects the confidentiality and integrity of user data and site content, it can undermine user trust and damage organizational reputation. The scope change in the CVSS vector indicates that the vulnerability can affect components beyond the initially compromised plugin, potentially impacting the entire WordPress site and its users. Although the attack requires authenticated access, contributor roles are common in many WordPress deployments, increasing the attack surface. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers often target popular CMS platforms. Organizations relying on this plugin for content formatting are at risk of targeted attacks, especially those with multiple contributors or public-facing content submission.
Mitigation Recommendations
To mitigate CVE-2025-11873, organizations should first check for and apply any official patches or updates from the WP BBCode plugin vendor once available. In the absence of patches, administrators should restrict contributor-level permissions to trusted users only and consider temporarily disabling or removing the WP BBCode plugin to eliminate the attack vector. Implementing Web Application Firewalls (WAFs) with rules to detect and block suspicious shortcode input patterns can provide interim protection. Additionally, site administrators should audit existing content for injected scripts and sanitize or remove any suspicious entries. Enforcing Content Security Policy (CSP) headers can reduce the impact of injected scripts by restricting script execution sources. Regular security training for content contributors to avoid unsafe input practices and monitoring logs for unusual activity related to shortcode usage are recommended. Finally, consider alternative plugins with better security track records or native WordPress features to replace WP BBCode functionality.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-16T16:28:54.152Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6912b12f14bc3e00ba783ce5
Added to database: 11/11/2025, 3:44:47 AM
Last enriched: 2/27/2026, 7:35:00 PM
Last updated: 3/23/2026, 2:32:05 PM
Views: 91
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.