CVEvulnerability
CVE-2026-6395
6.1 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-05-20
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-352
Description
The Word 2 Cash plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Stored Cross-Site Scripting in versions up to and including 0.9.2. This is due to the complete absence of nonce verification on the settings save handler in the w2c_admin() function, combined with missing input sanitization before storage and missing output escaping when rendering the stored value. The w2c-definitions POST parameter is saved raw via update_option() and later echoed without escaping inside a <textarea> element. This makes it possible for unauthenticated attackers to forge a request on behalf of a logged-in administrator, storing arbitrary JavaScript payloads that execute in the WordPress admin panel whenever the settings page is visited.
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://plugins.trac.wordpress.org/browser/word-2-cash/tags/0.9.2/word2cash.php#L18 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/word-2-cash/tags/0.9.2/word2cash.php#L20 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/word-2-cash/tags/0.9.2/word2cash.php#L31 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/word-2-cash/trunk/word2cash.php#L18 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/word-2-cash/trunk/word2cash.php#L20 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/word-2-cash/trunk/word2cash.php#L31 plugins.trac.wordpress.org
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e4c7ca5c-38aa-4413-83eb-29185cca2a74?source=cve www.wordfence.com