Skip to main content

Open Brain CVE-2026-3995

| EUVDEUVD-2026-23213 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-16 Wordfence GHSA-xrw6-gwf8-vvr9
4.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise administrator account
  2. Delivery
    Access plugin settings page
  3. Exploit
    Inject attribute breakout payload in API Key field
  4. Execution
    Save settings via WordPress options system
  5. Persist
    Administrator views settings page
  6. Impact
    Stored script executes in admin context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated access with administrator-level privileges in WordPress. The attacker must be able to access the OPEN-BRAIN plugin settings page (typically wp-admin/options-general.php or a custom admin page) and modify the API Key field. The vulnerability is only triggered when another user (or the same administrator) subsequently views the plugin settings page, at which point the stored script executes. Non-administrators cannot access the plugin settings, and users without administrator role are not affected. The vulnerability does NOT affect site visitors or unauthenticated users; it is confined to the WordPress admin dashboard.

Impact

The CVSS 4.4 score reflects the vulnerability's limiting factors: it requires high-privilege access (PR:H - administrator role), high complexity (AC:H - likely requires specific payload crafting), and network delivery (AV:N). However, CVSS does not capture that exploitation is restricted to authenticated administrators modifying their own settings, which significantly narrows the practical attack surface compared to unauthenticated or low-privilege XSS. The scope change (S:C) indicates cross-boundary impact - scripts execute in the context of administrator users viewing settings - but this is confined to WordPress admin users. No EPSS, KEV, or public POC data is provided, suggesting this is not currently exploited in the wild. The real risk depends on whether an administrator's account is compromised or whether a malicious administrator is already present; in either case, the impact is severe (arbitrary script execution affecting all site administrators). For most organizations, this is lower priority than unauthenticated XSS, but critical if insider threats or account compromise is a concern. The high complexity (AC:H) factor suggests the payload requires careful crafting to bypass WordPress sanitization, making exploitation less trivial than basic XSS.

Exploit ScenarioDerived

An attacker with compromised administrator credentials (or a malicious insider with administrator role) logs into the WordPress admin panel, navigates to the OPEN-BRAIN plugin settings, and enters a crafted payload such as " onload="alert('XSS') in the API Key field. Upon saving, the payload is stored via update_option() without proper escaping. When any administrator or authorized user accesses the OPEN-BRAIN settings page, the stored JavaScript executes in their browser session, potentially harvesting session tokens or triggering further admin actions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 16, 2026

Stored cross-site scripting in OPEN-BRAIN WordPress plugin versions up to 0.5.0 allows authenticated administrators to inject malicious scripts via the API Key settings field, which are executed when any user accesses the plugin settings page. The vulnerability stems from improper use of sanitize_text_field() (which does not prevent attribute breakout) combined with missing esc_attr() escaping when outputting the API key to an HTML input value attribute. While exploitation requires administrator-level access, the stored nature means scripts persist and affect all subsequent user interactions with the settings page.

RemediationAI

Update the OPEN-BRAIN plugin to a patched version released after 0.5.0 if available; check the WordPress plugin repository and Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/3fe3fa95-cc1d-469b-8a97-37987b9ae362 for the recommended version. If no patch is available, temporarily disable the OPEN-BRAIN plugin until a fixed version is released. As a compensating control, restrict administrator role assignments to trusted users only and monitor administrator account activity for unauthorized settings modifications. Site administrators should also enable WordPress security plugins that log and alert on option changes (update_option events). If the plugin must remain active pending a patch, audit current API Key values in the database (wp_options table, option name likely 'open_brain_api_key' or similar) for any suspicious characters or JavaScript payloads and reset them.

Affected VersionsENISA

OPEN-BRAIN 0 ≤0.5.0

Affected Packages

euvd open_brain no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The OPEN-BRAIN plugin for WordPress implements a settings form that accepts an API Key value through the WordPress options system (update_option). The underlying vulnerability involves two WordPress security functions used incorrectly: sanitize_text_field() strips HTML tags but does not encode HTML-special characters (including double quotes), making it insufficient for attribute context output; esc_attr() is the correct function for escaping output within HTML element attributes. The plugin code at lines 252-253 (input handling) and 272 (output rendering) demonstrates the flaw - the value is sanitized on input but not escaped on output, leaving it vulnerable to attribute breakout payloads. When the API key is rendered into an input element's value attribute without esc_attr(), an attacker can close the attribute with a quote, inject event handlers (e.g., onload=), and execute arbitrary JavaScript. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause class.

Know when Open Brain gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Apr 16, 2026 - 14:30 nvd
Patch available
CVE Published
Apr 16, 2026 - 06:44 nvd
MEDIUM 4.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy