Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 92%

CVE-2026-3995: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in faridsaniee OPEN-BRAIN

0
Medium
VulnerabilityCVE-2026-3995cvecve-2026-3995cwe-79
Published: Thu Apr 16 2026 (04/16/2026, 06:44:51 UTC)
Source: CVE Database V5
Vendor/Project: faridsaniee
Product: OPEN-BRAIN

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.

CVSS v3.1

Score 4.4medium

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 07:32:14 UTC

Technical Analysis

CVE-2026-3995 is a stored cross-site scripting vulnerability in the OPEN-BRAIN WordPress plugin up to version 0.5.0. The issue arises from improper neutralization of input during web page generation, specifically in the 'API Key' settings field. The plugin uses sanitize_text_field() for input sanitization, which strips HTML tags but fails to encode double quotes and other special characters required for safe attribute context output. The API key is saved with update_option() and later output into an HTML input element's value attribute without esc_attr() escaping. This allows authenticated users with administrator privileges to inject arbitrary JavaScript via attribute breakout payloads, which execute when the plugin settings page is accessed.

Potential Impact

An attacker with administrator-level access can exploit this vulnerability to inject and execute arbitrary JavaScript in the context of the WordPress admin interface. This could lead to actions such as session hijacking, privilege escalation, or other malicious activities within the admin environment. The impact is limited to users who can access the plugin settings page and does not affect unauthenticated users or visitors.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted users only. Avoid entering untrusted data into the 'API Key' settings field. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-11T17:04:22.771Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e08ce482d89c981f5edf28

Added to database: 4/16/2026, 7:16:52 AM

Last enriched: 4/16/2026, 7:32:14 AM

Last updated: 5/30/2026, 8:00:11 AM

Views: 80

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses