CVE-2026-6399: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yog2515 General Options
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.
AI Analysis
Technical Summary
CVE-2026-6399 is a stored cross-site scripting vulnerability in the yog2515 General Options WordPress plugin affecting versions up to 1.1.0. The issue arises because the Contact Number field uses sanitize_text_field() for output escaping, which does not encode double-quote characters. When this field's value is output inside a double-quoted HTML attribute, an attacker-controlled double-quote can break out of the attribute context, enabling script injection. WordPress's wp_magic_quotes mechanism does not prevent this because the backslash is rendered literally in HTML, failing to escape the quote properly. Only authenticated users with Administrator-level privileges or higher can exploit this vulnerability by injecting malicious scripts that execute when other administrators access the General Options settings page.
Potential Impact
An attacker with Administrator-level access can inject arbitrary JavaScript into the General Options plugin's settings page, which executes in the context of other administrators visiting that page. This can lead to limited confidentiality and integrity impacts, such as session hijacking or unauthorized actions performed by administrators. The vulnerability does not affect availability and requires high privileges to exploit. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Administrators should exercise caution by limiting the number of users with Administrator privileges and monitoring plugin updates from the vendor for a fix. Since the vulnerability requires Administrator-level access, restricting administrative accounts and reviewing user permissions can reduce risk. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-6399: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in yog2515 General Options
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6399 is a stored cross-site scripting vulnerability in the yog2515 General Options WordPress plugin affecting versions up to 1.1.0. The issue arises because the Contact Number field uses sanitize_text_field() for output escaping, which does not encode double-quote characters. When this field's value is output inside a double-quoted HTML attribute, an attacker-controlled double-quote can break out of the attribute context, enabling script injection. WordPress's wp_magic_quotes mechanism does not prevent this because the backslash is rendered literally in HTML, failing to escape the quote properly. Only authenticated users with Administrator-level privileges or higher can exploit this vulnerability by injecting malicious scripts that execute when other administrators access the General Options settings page.
Potential Impact
An attacker with Administrator-level access can inject arbitrary JavaScript into the General Options plugin's settings page, which executes in the context of other administrators visiting that page. This can lead to limited confidentiality and integrity impacts, such as session hijacking or unauthorized actions performed by administrators. The vulnerability does not affect availability and requires high privileges to exploit. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Administrators should exercise caution by limiting the number of users with Administrator privileges and monitoring plugin updates from the vendor for a fix. Since the vulnerability requires Administrator-level access, restricting administrative accounts and reviewing user permissions can reduce risk. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-15T20:26:58.860Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d1a61ba1db473621f7ae5
Added to database: 5/20/2026, 2:20:17 AM
Last enriched: 5/20/2026, 2:35:54 AM
Last updated: 5/20/2026, 5:49:55 PM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.