GHSA-PQ6H-83GW-PJ9P
Vulnerability from github – Published: 2026-04-16 09:31 – Updated: 2026-04-16 09:31The 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.
{
"affected": [],
"aliases": [
"CVE-2026-3995"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-04-16T07:16:30Z",
"severity": "MODERATE"
},
"details": "The OPEN-BRAIN plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027API Key\u0027 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\u0027s 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.",
"id": "GHSA-pq6h-83gw-pj9p",
"modified": "2026-04-16T09:31:45Z",
"published": "2026-04-16T09:31:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3995"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L128"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L252"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L253"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L272"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L128"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L252"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L253"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L272"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3fe3fa95-cc1d-469b-8a97-37987b9ae362?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.