Skip to main content

WordPress 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
Share

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

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

5
Patch released
Apr 16, 2026 - 14:30 nvd
Patch available
Analysis Generated
Apr 16, 2026 - 07:49 vuln.today
EUVD ID Assigned
Apr 16, 2026 - 07:30 euvd
EUVD-2026-23213
Analysis Generated
Apr 16, 2026 - 07:30 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-3995 vulnerability details – vuln.today

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