OPEN-BRAIN <= 0.5.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'API Key' Setting
Summary
| CVE | CVE-2026-3995 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-16 07:16:30 UTC |
| Updated | 2026-04-22 20:22:50 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.000240000 probability, percentile 0.065700000 (date 2026-04-22)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 4.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Faridsaniee | OPEN-BRAIN | affected 0.5.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/trunk/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/3fe3fa95-cc1d-469b-8a97-37987... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/open-brain/trunk/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/trunk/index.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/open-brain/trunk/index.php | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Muhammad Nur Ibnu Hubab (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-15T17:42:29.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.