Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise administrator account
-
DeliveryAccess plugin settings page
-
ExploitInject attribute breakout payload in API Key field
-
ExecutionSave settings via WordPress options system
-
PersistAdministrator views settings page
-
ImpactStored 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-23213
GHSA-xrw6-gwf8-vvr9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB