VYPR
Unrated severityNVD Advisory· Published Jun 24, 2026

WhatsOrder <= 1.0.1 - Unauthenticated Sensitive Information Exposure via Predictable Invoice File URLs

CVE-2026-9612

Description

The WhatsOrder – Instant Checkout for WooCommerce plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.0.1 via the yapacdev_generate_order_pdf. This makes it possible for unauthenticated attackers to extract sensitive customer PII and order details — including full name, email address, phone number, billing address, ordered items with quantities and prices, applied coupons, shipping method, and order total — from any customer's invoice by enumerating sequential order IDs. Invoice HTML files are written to the publicly accessible wp-content/uploads/whatsorder_invoices/ directory, which is created without an .htaccess deny rule or index.php guard, making every invoice directly downloadable over HTTP with no authentication check.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

1

Patches

Vulnerability mechanics

Root cause

"Missing access control on the invoice directory and predictable filename generation allow unauthenticated enumeration of sensitive order data."

Attack vector

An unauthenticated attacker can enumerate sequential WooCommerce order IDs and directly request invoice HTML files from `wp-content/uploads/whatsorder_invoices/order-{N}.html`. Because the `yapacdev_generate_order_pdf()` function [ref_id=1][ref_id=2] writes invoices to a publicly accessible directory with no access control, the attacker can extract sensitive customer PII — full name, email, phone, billing address, ordered items, prices, coupons, shipping method, and order total — from any order. No authentication or special privileges are required; the only precondition is that the site has at least one order processed through the WhatsOrder payment gateway.

Affected code

The vulnerability resides in the `yapacdev_generate_order_pdf()` function in `whatsorder-instant-checkout-for-woocommerce.php` [ref_id=1][ref_id=2]. This function writes an HTML invoice file to `wp-content/uploads/whatsorder_invoices/` using a predictable filename (`order-{order_id}.html`) and returns the public URL without any authentication or access control. The directory is created without an `.htaccess` deny rule or `index.php` guard, making every invoice directly downloadable over HTTP.

What the fix does

The patch does not appear in the provided bundle; however, the advisory indicates the fix must prevent unauthenticated access to the invoice directory. The recommended remediation is to place an `.htaccess` file with `Deny from all` (or equivalent server configuration) inside `wp-content/uploads/whatsorder_invoices/` and add an `index.php` guard to prevent directory listing. Additionally, the `yapacdev_generate_order_pdf()` function should be modified to serve invoice files through a WordPress-verified download handler that checks capabilities rather than writing directly to a public web-accessible path.

Preconditions

  • configThe site must have at least one order processed through the WhatsOrder payment gateway so an invoice HTML file exists.
  • authNo authentication required; the attacker can be unauthenticated.
  • networkThe attacker must be able to make HTTP GET requests to the WordPress uploads directory.
  • inputThe attacker must guess or enumerate sequential WooCommerce order IDs.

Generated on Jun 24, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.