{"id":"CVE-2026-3995","aliases":["CVE-2026-3995"],"related":[],"kind":"vulnerability","state":"published","title":"OPEN-BRAIN <= 0.5.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'API Key' Setting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-04-16T06:44:51.340Z","modified":"2026-06-17T10:44:35.457Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.5.0","status":"affected"}],"vendor":"faridsaniee","product":"OPEN-BRAIN","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3fe3fa95-cc1d-469b-8a97-37987b9ae362?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L272","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L272","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L252","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L252","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L253","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L253","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/trunk/index.php#L128","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/open-brain/tags/0.5.0/index.php#L128","tags":[],"sources":["cvelist","nvd"]}],"credits":["Muhammad Nur Ibnu Hubab"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-16T11:11:56.355Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3995","url":"https://www.cve.org/CVERecord?id=CVE-2026-3995","licence":"CVE Terms of Use","modified":"2026-04-16T12:04:24.073Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3995","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3995","licence":"Public domain","modified":"2026-06-17T10:44:35.457Z"}],"updatedAt":"2026-11-25T22:59:18.896Z","epss":{"score":0.00359,"percentile":0.31653,"date":"2026-12-01T12:00:22.000Z"}}