Description
The Welcart e-Commerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Settlement Notification Parameters in all versions up to, and including, 2.12.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The IPN endpoint accepts the 'rel' and 'option' parameters with no authentication, nonce validation, or signature verification, meaning any unauthenticated attacker can directly submit malicious payloads that are stored and later rendered in the administrator's settlement error log view.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
uscnanbu Welcart e-Commerce
Default version status: unaffected
0 to ≤ 2.12.2affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d6046c06-9a77-450f-9cdf-c5239e73cb6b?source=cve ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.2/functions/settlement_func.php#L906 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.2/functions/settlement_func.php#L951 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.2/functions/hoock_func.php#L631 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.2/functions/settlement_func.php#L569 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.11.29/functions/settlement_func.php#L906 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.11.29/functions/settlement_func.php#L951 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.11.29/functions/hoock_func.php#L631 ↗
- https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.11.29/functions/settlement_func.php#L569 ↗
- https://plugins.trac.wordpress.org/changeset/3690880/usc-e-shop ↗
- https://plugins.trac.wordpress.org/changeset/3690880/usc-e-shop/trunk/functions/settlement_func.php ↗