CVE-2026-19887
highThe Welcart e-Commerce plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.12.1 via deserialization of untrusted…
The Welcart e-Commerce plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.12.1 via deserialization of untrusted input in the Telecom EDY payment callback (usces_action_acting_transaction). Unauthenticated attackers can store arbitrary 'reserve' key/value pairs as order metadata during a public checkout, then invoke the callback with an attacker-chosen 'option' parameter to select and unserialize that metadata without any provider signature, source-address, transaction-identity or ownership check. A POP chain is present in the TCPDF library bundled with the plugin itself, so no additional plugin or theme is required. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, including wp-config.php, which can lead to remote code execution when an attacker re-runs the WordPress installer against a database they control. Successful exploitation is contingent on an admin printing an invoice to trigger file deletion.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/classes/cart.class.php#L546 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/classes/orderData.class.php#L4... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/functions/function.php#L218 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/functions/hoock_func.php#L517 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/includes/order_print.php#L16 security@wordfence.com
- https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/pdf/tcpdf/tcpdf.php#L7794 security@wordfence.com
- https://plugins.trac.wordpress.org/changeset/3673344/usc-e-shop/trunk/classes/orderData.cl... security@wordfence.com
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fusc-e-shop/tags/2.12.1&new_path=%... security@wordfence.com
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3673346%40usc-e-shop%2Ftags%2F2... security@wordfence.com
- https://www.wordfence.com/threat-intel/vulnerabilities/id/716a7c3c-2e26-4da9-a299-7dcbaa7e... security@wordfence.com
