CVE-2026-19887
JSON

8.8high

Welcart e-Commerce <= 2.12.1 - Unauthenticated Arbitrary File Deletion via PHP Object Injection via 'reserve' Checkout Parameter and 'option' EDY Callback

Severity
8.8high CVSS:3.1 by Wordfence
Exploit likelihood
0.60% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

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.

Affected

Product or packageVersionsReported by
uscnanbu Welcart e-Commerceup to 2.12.1CVE List

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/716a7c3c-2e26-4da9-a299-7dcbaa7e4895?source=cve
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/functions/hoock_func.php#L517
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/classes/cart.class.php#L546
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/functions/function.php#L218
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/classes/orderData.class.php#L41
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/includes/order_print.php#L16
https://plugins.trac.wordpress.org/browser/usc-e-shop/trunk/pdf/tcpdf/tcpdf.php#L7794
https://plugins.trac.wordpress.org/changeset?reponame=&new=3673346%40usc-e-shop%2Ftags%2F2.12.2&old=3651925%40usc-e-shop%2Ftags%2F2.12.1
https://plugins.trac.wordpress.org/changeset/3673344/usc-e-shop/trunk/classes/orderData.class.php
https://plugins.trac.wordpress.org/changeset?old_path=%2Fusc-e-shop/tags/2.12.1&new_path=%2Fusc-e-shop/tags/2.12.2

Sources

SourceRecordLicence
CVE ListCVE-2026-19887 changed 2026-09-08CVE Terms of Use
NVDCVE-2026-19887 changed 2026-09-08Public domain