CVE-2026-4075
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-4075 is a Stored Cross-Site Scripting (XSS) vulnerability in the BWL Advanced FAQ Manager Lite plugin for WordPress, affecting all versions up to and including 1.1.1. The flaw exists in the baf_sbox shortcode handler, where multiple user-supplied attributes are interpolated directly into HTML without proper escaping. It was published on March 26, 2026, and assigned a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically in the baf_sbox() function within includes/shortcodes/baf_faq_list.php. Shortcode attributes including sbox_id, sbox_class, placeholder, highlight_color, highlight_bg, and cont_ext_class are directly interpolated into HTML element attributes without any call to WordPress's esc_attr() sanitization function. An authenticated attacker with at least Contributor-level access can embed a malicious shortcode in a post or page; the injected script executes in the browser of any user who subsequently views that page (Wordfence, WordPress Plugin Trac).

Impact

Successful exploitation allows an attacker to inject persistent JavaScript into WordPress pages, which executes in the context of any visitor's browser. This can lead to session cookie theft, credential harvesting, defacement, redirection to malicious sites, or further attacks against authenticated administrators — potentially escalating to full site compromise. Confidentiality and integrity are both impacted (low to moderate), while availability is not directly affected (Wordfence).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported as of the time of writing. The EPSS score is approximately 0.042%, indicating a low probability of near-term exploitation. The vulnerability requires Contributor-level authentication, which limits the attack surface but does not eliminate risk on sites with open contributor registration. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence, Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running BWL Advanced FAQ Manager Lite version 1.1.1 or earlier by checking plugin metadata or using tools like WPScan.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Craft malicious shortcode: Create a post or page containing the [baf_sbox] shortcode with a malicious payload injected into a vulnerable attribute, for example: [baf_sbox sbox_id='x" onmouseover="alert(document.cookie)' ].
  4. Publish or submit content: Submit the post for review or publish it directly (depending on role permissions), embedding the stored XSS payload in the database.
  5. Trigger execution: When any site visitor (including administrators) loads the affected page, the injected script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Plugin Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints containing baf_sbox shortcode with unusual attribute values (e.g., event handlers like onerror, onmouseover, or JavaScript URIs).
  • Database: WordPress wp_posts table entries containing [baf_sbox shortcodes with HTML event handler attributes or <script> tags embedded in shortcode attribute values.
  • File System: No direct file-system artifacts expected for stored XSS; however, monitor for unexpected changes to theme files or plugin files that could indicate post-exploitation activity.
  • Network: Outbound requests from victim browsers to attacker-controlled domains following page visits, particularly carrying cookie or session data in query parameters.

Mitigation and workarounds

Site administrators should update the BWL Advanced FAQ Manager Lite plugin to a version beyond 1.1.1 that includes the fix (see the plugin changelog via the WordPress Plugin Trac changeset). The patch adds proper esc_attr() escaping to all affected shortcode attributes in the baf_sbox() function (WordPress Plugin Trac). As an interim workaround, restrict Contributor-level user registration and audit existing contributor accounts. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help reduce risk until patching is complete.

Community reactions

Wordfence, which discovered and reported the vulnerability, included it in their weekly WordPress vulnerability report for the week of March 23–29, 2026 (Wordfence Blog). The vulnerability was also noted in automated CVE tracking feeds and the ENISA European Vulnerability Database (EUVD-2026-16083). No significant broader media coverage or notable researcher commentary beyond standard disclosure channels has been identified.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-83547MEDIUM6.8
  • xpro-elementor-addons
NoYesSep 02, 2026
CVE-2026-82884MEDIUM6.8
  • all-in-one-seo-pack
NoYesSep 02, 2026
CVE-2026-8151MEDIUM5.4
  • simple-membership-mailchimp-integration
NoYesSep 02, 2026
CVE-2026-83533MEDIUM5.3
  • wp-express-checkout
NoYesSep 02, 2026
CVE-2026-81571MEDIUM4.8
  • brave-popup-builder
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management