CVE-2026-6399
General Options <= 1.1.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'ad_contact_number' Parameter
Description
The General Options plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 1.1.0. This is due to the use of sanitize_text_field() for output escaping in the Contact Number (ad_contact_number) field — a function that strips HTML tags but does not encode double-quote characters to their HTML entity equivalent ("). When the stored value is echoed inside a double-quoted HTML attribute (value="..."), an attacker-supplied double-quote character breaks out of the attribute context. Even with WordPress's wp_magic_quotes mechanism (which prefixes quotes with a backslash), the resulting \" sequence is NOT treated as an escaped quote by HTML parsers — the backslash is rendered as a literal character and the bare double-quote still closes the attribute. This makes it possible for authenticated attackers with Administrator-level access and above to inject arbitrary web scripts in the admin settings page that will execute whenever any administrator visits the General Options settings page.
INFO
Published Date :
May 20, 2026, 2:16 a.m.
Last Modified :
July 24, 2026, 8:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the General Options plugin.
- Apply vendor patches if available.
- Review plugin configurations for security.
- Restrict access to administrator settings.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-6399.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-6399 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-6399
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-6399 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-6399 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 24, 2026
Action Type Old Value New Value Added Translation Title: plugin de WordPress General Options, Description: El plugin General Options para WordPress es vulnerable a Cross-Site Scripting Almacenado en versiones hasta la 1.1.0 inclusive. Esto se debe al uso de sanitize_text_field() para el escape de salida en el campo Número de Contacto (ad_contact_number) - una función que elimina las etiquetas HTML pero no codifica los caracteres de comillas dobles a su equivalente de entidad HTML ("). Cuando el valor almacenado se imprime dentro de un atributo HTML entre comillas dobles (value='...'), un carácter de comillas dobles proporcionado por el atacante sale del contexto del atributo. Incluso con el mecanismo wp_magic_quotes de WordPress (que antepone una barra invertida a las comillas), la secuencia resultante \" NO es tratada como una comilla escapada por los analizadores HTML - la barra invertida se renderiza como un carácter literal y la comilla doble sin escapar aún cierra el atributo. Esto hace posible que atacantes autenticados con acceso de nivel de Administrador o superior inyecten scripts web arbitrarios en la página de configuración de administración que se ejecutarán cada vez que cualquier administrador visite la página de configuración de General Options. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'yog2515', 'product': 'General Options', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '1.1.0'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-6399', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-20T13:02:35.305585Z'} -
New CVE Received by [email protected]
May. 20, 2026
Action Type Old Value New Value Added Description The General Options plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 1.1.0. This is due to the use of sanitize_text_field() for output escaping in the Contact Number (ad_contact_number) field — a function that strips HTML tags but does not encode double-quote characters to their HTML entity equivalent ("). When the stored value is echoed inside a double-quoted HTML attribute (value="..."), an attacker-supplied double-quote character breaks out of the attribute context. Even with WordPress's wp_magic_quotes mechanism (which prefixes quotes with a backslash), the resulting \" sequence is NOT treated as an escaped quote by HTML parsers — the backslash is rendered as a literal character and the bare double-quote still closes the attribute. This makes it possible for authenticated attackers with Administrator-level access and above to inject arbitrary web scripts in the admin settings page that will execute whenever any administrator visits the General Options settings page. Added CVSS V3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-79 Added Reference https://plugins.trac.wordpress.org/browser/general-options/tags/1.1.0/direct-action.php Added Reference https://plugins.trac.wordpress.org/browser/general-options/tags/1.1.0/direct-main.php Added Reference https://plugins.trac.wordpress.org/browser/general-options/trunk/direct-action.php Added Reference https://plugins.trac.wordpress.org/browser/general-options/trunk/direct-main.php Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/d29c69bb-4feb-477e-b18f-934ece21aff6?source=cve