Description
The Earnware Connect plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ew_hasrole' shortcode in all versions up to, and including, 1.0.74 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-08-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The Earnware Connect plugin for WordPress allows authenticated users with contributor role or higher to embed arbitrary scripts through its 'ew_hasrole' shortcode. Because the plugin fails to properly sanitize and escape user‑supplied shortcode attributes, a stored cross‑site scripting flaw exists. Any visitor who loads a page containing the malicious shortcode will execute the injected script, potentially hijacking sessions, phishing, defacing the site or otherwise compromising confidentiality and integrity.

Affected Systems

Vulnerable systems are WordPress installations that have the Earnware Connect plugin installed in versions 1.0.74 or earlier. The bug is present in all releases up to and including 1.0.74; newer releases are not documented as affected and are assumed to contain the fix.

Risk and Exploitability

The CVSS score of 6.4 classifies the issue as moderate severity, while the EPSS score of less than 1% indicates a low probability of exploitation at the time of assessment. The vulnerability is not listed in the CISA KEV catalog, and because it requires authenticated contributors to inject the payload, the attacker pool is limited. Nonetheless, once injected, the script executes for every page view, making the potential impact significant if the plugin remains unpatched or the shortcode is not removed.

Generated by OpenCVE AI on April 21, 2026 at 19:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest Earnware Connect release (greater than 1.0.74) to patch the stored XSS flaw.
  • If an update is not immediately available, delete or disable the 'ew_hasrole' shortcode from any content until the plugin is fixed.
  • Ensure that any user‑supplied attributes to shortcode are properly sanitized or escaped; as a temporary defensive measure, restrict contributor roles from editing content containing this shortcode or apply output‑escaping filters.

Generated by OpenCVE AI on April 21, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-25069 The Earnware Connect plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ew_hasrole' shortcode in all versions up to, and including, 1.0.73 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
Description The Earnware Connect plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ew_hasrole' shortcode in all versions up to, and including, 1.0.73 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The Earnware Connect plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ew_hasrole' shortcode in all versions up to, and including, 1.0.74 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Earnware Connect <= 1.0.73 - Authenticated (Contributor+) Stored Cross-Site Scripting Earnware Connect <= 1.0.74 - Authenticated (Contributor+) Stored Cross-Site Scripting
References

Mon, 18 Aug 2025 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Earnware
Earnware connect
Wordpress
Wordpress wordpress
Vendors & Products Earnware
Earnware connect
Wordpress
Wordpress wordpress

Mon, 18 Aug 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 16 Aug 2025 03:45:00 +0000

Type Values Removed Values Added
Description The Earnware Connect plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ew_hasrole' shortcode in all versions up to, and including, 1.0.73 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Earnware Connect <= 1.0.73 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Earnware Connect
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:52:31.446Z

Reserved: 2025-07-14T17:38:04.256Z

Link: CVE-2025-7651

cve-icon Vulnrichment

Updated: 2025-08-18T13:37:41.770Z

cve-icon NVD

Status : Deferred

Published: 2025-08-16T04:16:06.050

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-7651

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T19:30:06Z

Weaknesses