Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker acquires WordPress admin credentials
-
DeliveryAuthenticate to wp-admin panel
-
ExploitNavigate to General Options settings page
-
InstallSubmit crafted Contact Number value with double-quote attribute injection payload
-
C2Payload persists in WordPress database
-
ExecuteVictim admin loads General Options settings page
-
ImpactInjected script executes in victim's authenticated browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires WordPress Administrator-level authentication (confirmed by CVSS PR:H); contributor, editor, author, and subscriber roles cannot reach the affected settings field. The General Options plugin by yog2515 must be installed and active at version 1.1.0 or earlier. Payload execution against a victim requires a second Administrator to visit the General Options settings page after the malicious value is stored - though no explicit user interaction flag is set in CVSS (UI:N), because the stored payload fires passively on page load without requiring the victim to click or interact beyond navigating to the page. High attack complexity (AC:H per CVSS) limits exploitation reliability and may indicate environmental conditions affect success. The attack is bounded to the WordPress admin panel (/wp-admin/), which is typically not publicly accessible if hardened deployments restrict /wp-admin/ by IP allowlist - such a restriction would prevent network delivery and constitutes an effective compensating control. The vulnerable field is specifically the Contact Number (ad_contact_number) field within the plugin's own settings interface. |
| Impact | The CVSS 4.4 Medium score reflects a constrained but non-trivial attack profile. The vector AV:N/AC:H/PR:H/UI:N/S:C reveals the key risk signals: High privilege requirement (PR:H) means exploitation requires pre-existing WordPress Administrator credentials, which is the dominant limiting factor - this is not an unauthenticated or low-privilege attack. High attack complexity (AC:H) suggests the exploit may not be trivially reliable or may depend on specific conditions. The Changed Scope (S:C) is meaningful: the XSS payload, once stored, executes in the security context of any visiting admin's browser session, potentially enabling session hijacking, credential theft, or unauthorized administrative actions against other administrators. No EPSS data was provided, so exploitation probability cannot be quantified from probabilistic models. The vulnerability is not listed in the CISA KEV catalog, and no public POC exploit code has been identified. For most WordPress deployments, the realistic priority is low: the attacker must already be an Administrator, severely limiting the population of potential threat actors to compromised admin accounts or malicious insiders. However, on multi-administrator WordPress installations, this could serve as a persistence or lateral movement mechanism once initial admin access is achieved. The CVSS network attack vector (AV:N) is accurate for delivery of the payload (web interface), though the high privilege requirement negates the typical severity associated with network-accessible flaws. |
| Exploit ScenarioDerived | An attacker who has obtained WordPress Administrator credentials - through credential stuffing, phishing, or a previous compromise - navigates to the General Options settings page and submits a crafted Contact Number value such as x" onmouseover="alert(document.cookie) or a more sophisticated payload using onerror/onfocus event handlers. The double-quote breaks out of the value attribute context and injects an event-driven JavaScript payload that is stored in the database. Any subsequent administrator who loads the General Options settings page triggers silent execution of the stored script in their authenticated browser session, enabling the attacker to exfiltrate session tokens, perform authenticated actions, or establish persistence. No public POC exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 20, 2026
Stored Cross-Site Scripting in the General Options WordPress plugin (versions up to and including 1.1.0) allows authenticated attackers holding Administrator-level privileges to persist malicious JavaScript in the Contact Number settings field, which executes in the browser of any administrator who subsequently visits the plugin's settings page. The flaw is rooted in the misapplication of sanitize_text_field() for output escaping - a function that strips HTML tags but does not encode double-quote characters, enabling attribute context breakout when the stored value is echoed inside a double-quoted HTML attribute. WordPress's wp_magic_quotes backslash-prefixing mechanism provides no protection here because HTML parsers treat the backslash as a literal character rather than an escape sequence. No active exploitation has been confirmed (not in CISA KEV), and no public exploit code has been identified at time of analysis.
RemediationAI
No patched version has been identified in the available data - upgrade guidance cannot be confirmed from current references. Administrators running the General Options plugin (yog2515) version 1.1.0 or earlier should consider deactivating and removing the plugin until a patched version is released, as this eliminates the vulnerable attack surface entirely with no functional trade-off if the plugin's features are non-critical. If the plugin cannot be removed, restrict WordPress Administrator account access to the minimum required set of trusted users and enforce strong credential policies (MFA) to reduce the population of accounts that could be used to exploit the flaw. Monitor the plugin's WordPress.org repository and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/d29c69bb-4feb-477e-b18f-934ece21aff6 for patch availability. The underlying fix in plugin code would require replacing sanitize_text_field() with esc_attr() (or equivalent HTML-entity-encoding function) when outputting the ad_contact_number value inside the HTML attribute context in direct-main.php.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is the General Options WordPress plugin authored by yog2515 (CPE: cpe:2.3:a:yog2515:general_options:*:*:*:*:*:*:*:*), versions up to and including 1.1.0. The vulnerability class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically the Stored variant. The root cause is a developer error in output encoding strategy: WordPress provides two related but distinct sanitization functions - sanitize_text_field() for input sanitization (strips HTML tags, removes extra whitespace) and esc_attr() or esc_html() for output encoding (converts characters including double-quotes to HTML entities). The plugin incorrectly uses the former as a substitute for the latter when rendering the ad_contact_number field value inside a double-quoted HTML attribute (value="..."). An attacker-supplied double-quote in the stored value is never converted to ", so it terminates the attribute context in the rendered HTML. The WordPress wp_magic_quotes mechanism, which adds a backslash before stored quotes, does not remediate this because HTML parsers have no concept of backslash-escaping - the backslash renders as a literal character while the bare double-quote still closes the attribute. Source code evidence is available via WordPress Plugin Trac at direct-main.php and direct-action.php in the 1.1.0 tag.
Know when General Options gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-31040
GHSA-3hhp-2p2q-gg5w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB