PT-2026-42063 · WordPress · General Options
CVSS v3.1
4.4
Medium
| Vector | AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
General Options versions prior to 1.1.1
Description
The General Options plugin for WordPress contains a Stored Cross-Site Scripting issue. This occurs because the
sanitize text field() function is used for output escaping in the Contact Number ad contact number field. While this function removes HTML tags, it fails to encode double-quote characters. When a stored value is placed within a double-quoted HTML attribute, an attacker can use a double-quote character to break out of the attribute context. The wp magic quotes mechanism does not prevent this, as HTML parsers treat the resulting backslash as a literal character, allowing the double-quote to close the attribute. Consequently, authenticated attackers with Administrator-level access or higher can inject arbitrary web scripts into the admin settings page, which execute when any administrator visits the General Options settings page.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
General Options