CVE-2026-6399
A stored cross-site scripting (XSS) vulnerability exists in the General Options WordPress plugin versions up to and including 1.1.0. The flaw stems from improper output escaping in the Contact Number (ad_contact_number) field. The plugin uses sanitize_text_field(), which strips HTML tags but fails to encode double-quote characters to their HTML entity equivalent ("). When the stored value is rendered inside a double-quoted HTML attribute (value="..."), an attacker-supplied double-quote breaks out of the attribute context. WordPress's wp_magic_quotes mechanism prefixes quotes with a backslash, but the resulting \" sequence is not interpreted as an escaped quote by HTML parsers—the backslash renders literally and the bare double-quote still closes the attribute. This allows authenticated administrators to inject arbitrary web scripts that execute when any administrator visits the General Options settings page. The vulnerability requires high privileges and user interaction, with attack complexity rated as high due to the need for administrative access.