CVE-2026-6395

Word 2 Cash <= 0.9.2 - Cross-Site Request Forgeryto Stored Cross-Site Scripting via Settings Page

Published May 20, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Word 2 Cash plugin for WordPress allows a user to configure currency settings via a settings page. In versions 0.9.2 and earlier, the plugin fails to verify a nonce on the settings save handler, does not sanitize the incoming w2c-definitions POST parameter before storing it with update_option, and later outputs the stored value unescaped inside a <textarea>. As a result an attacker can send a forged POST request to the settings page and cause arbitrary JavaScript to be persisted in the database. When a privileged administrator later visits the same settings page, that JavaScript runs in the context of the admin, enabling full site compromise.

Affected Systems

The vulnerability affects any WordPress site that has the Word 2 Cash plugin installed in a version up to and including 0.9.2. The issue is specific to this plugin’s settings handler; other core WordPress components are not impacted.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate risk, however the attack requires only a crafted web request and does not need any special credentials. The EPSS score is unavailable, and the vulnerability is not currently listed in the CISA KEV catalog, yet the static CSRF/XSS flaw is commonly exploitable in practice. Because the attacker can inject code that will execute whenever a legitimate administrator views the settings page, the risk includes full privilege escalation and site defacement. Administrators should promptly patch or disable the plugin to mitigate the threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Word 2 Cash version that includes proper nonce verification, input sanitization, and output escaping.
  • If an update is not available, deactivate or uninstall the Word 2 Cash plugin to eliminate the attack surface.
  • Restrict access to the settings page at the web‑application or firewall level, allowing only requests from trusted IP addresses to mitigate CSRF attempts.

Generated by OpenCVE AI on May 20, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Winking
Winking word 2 Cash
Wordpress
Wordpress wordpress
Vendors & Products Winking
Winking word 2 Cash
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Word 2 Cash <= 0.9.2 - Cross-Site Request Forgeryto Stored Cross-Site Scripting via Settings Page
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
May 20, 2026, 12:06 PM
Reserved
Apr 15, 2026, 8:14 PM
Status
Deferred
Published
May 20, 2026, 2:16 AM
Modified
Jul 24, 2026, 8:10 AM