CVE-2026-3995: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in faridsaniee OPEN-BRAIN
The OPEN-BRAIN plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'API Key' settings field in all versions up to, and including, 0.5.0. This is due to insufficient input sanitization and output escaping. The plugin uses sanitize_text_field() which strips HTML tags but does not encode double quotes or other HTML-special characters needed for safe attribute context output. The API key value is saved via update_option() and later output into an HTML input element's value attribute without esc_attr() escaping. This makes it possible for authenticated attackers, with Administrator-level access, to inject arbitrary web scripts via attribute breakout payloads (e.g., double quotes followed by event handlers) that execute whenever a user accesses the plugin settings page.
AI Analysis
Technical Summary
CVE-2026-3995 is a stored cross-site scripting vulnerability in the OPEN-BRAIN WordPress plugin up to version 0.5.0. The issue arises from improper neutralization of input during web page generation, specifically in the 'API Key' settings field. The plugin uses sanitize_text_field() for input sanitization, which strips HTML tags but fails to encode double quotes and other special characters required for safe attribute context output. The API key is saved with update_option() and later output into an HTML input element's value attribute without esc_attr() escaping. This allows authenticated users with administrator privileges to inject arbitrary JavaScript via attribute breakout payloads, which execute when the plugin settings page is accessed.
Potential Impact
An attacker with administrator-level access can exploit this vulnerability to inject and execute arbitrary JavaScript in the context of the WordPress admin interface. This could lead to actions such as session hijacking, privilege escalation, or other malicious activities within the admin environment. The impact is limited to users who can access the plugin settings page and does not affect unauthenticated users or visitors.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted users only. Avoid entering untrusted data into the 'API Key' settings field. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation.
CVE-2026-3995: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in faridsaniee OPEN-BRAIN
Description
The OPEN-BRAIN plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'API Key' settings field in all versions up to, and including, 0.5.0. This is due to insufficient input sanitization and output escaping. The plugin uses sanitize_text_field() which strips HTML tags but does not encode double quotes or other HTML-special characters needed for safe attribute context output. The API key value is saved via update_option() and later output into an HTML input element's value attribute without esc_attr() escaping. This makes it possible for authenticated attackers, with Administrator-level access, to inject arbitrary web scripts via attribute breakout payloads (e.g., double quotes followed by event handlers) that execute whenever a user accesses the plugin settings page.
CVSS v3.1
Score 4.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-3995 is a stored cross-site scripting vulnerability in the OPEN-BRAIN WordPress plugin up to version 0.5.0. The issue arises from improper neutralization of input during web page generation, specifically in the 'API Key' settings field. The plugin uses sanitize_text_field() for input sanitization, which strips HTML tags but fails to encode double quotes and other special characters required for safe attribute context output. The API key is saved with update_option() and later output into an HTML input element's value attribute without esc_attr() escaping. This allows authenticated users with administrator privileges to inject arbitrary JavaScript via attribute breakout payloads, which execute when the plugin settings page is accessed.
Potential Impact
An attacker with administrator-level access can exploit this vulnerability to inject and execute arbitrary JavaScript in the context of the WordPress admin interface. This could lead to actions such as session hijacking, privilege escalation, or other malicious activities within the admin environment. The impact is limited to users who can access the plugin settings page and does not affect unauthenticated users or visitors.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted users only. Avoid entering untrusted data into the 'API Key' settings field. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-11T17:04:22.771Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e08ce482d89c981f5edf28
Added to database: 4/16/2026, 7:16:52 AM
Last enriched: 4/16/2026, 7:32:14 AM
Last updated: 5/30/2026, 8:00:11 AM
Views: 80
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.