OPEN-BRAIN <= 0.5.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'API Key' Setting

Summary

CVECVE-2026-3995
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-16 07:16:30 UTC
Updated2026-04-22 20:22:50 UTC
DescriptionThe 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.4MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
3.1CNADECLARED4.4MEDIUMCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Faridsaniee OPEN-BRAIN affected 0.5.0 semver Not specified

References

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-04-15T17:42:29.000ZDisclosed
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report