{"id":"CVE-2026-6399","aliases":["CVE-2026-6399"],"related":[],"kind":"vulnerability","state":"published","title":"General Options <= 1.1.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'ad_contact_number' Parameter","summary":"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 (&quot;). 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 (&quot;). 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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-20T01:25:54.983Z","modified":"2026-07-24T08:10:00.150Z","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":"1.1.0","status":"affected"}],"vendor":"yog2515","product":"General Options","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d29c69bb-4feb-477e-b18f-934ece21aff6?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/general-options/trunk/direct-main.php","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/general-options/tags/1.1.0/direct-main.php","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/general-options/trunk/direct-action.php","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/general-options/tags/1.1.0/direct-action.php","tags":[],"sources":["cvelist","nvd"]}],"credits":["Muhammad Nur Ibnu Hubab"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-20T13:02:35.305Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6399","url":"https://www.cve.org/CVERecord?id=CVE-2026-6399","licence":"CVE Terms of Use","modified":"2026-05-20T13:02:41.740Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6399","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6399","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:22.012Z","epss":{"score":0.0023,"percentile":0.14736,"date":"2026-12-02T12:00:21.000Z"}}