AJAX Prices: Country Based Prices security review
Security › AJAX Prices: Country Based Prices
Security score 100/100 · Version 1.13.12 · Reviewed 3 November 2026 · Source fingerprint 2e62001
Summary
We reviewed AJAX Prices: Country Based Prices 1.13.12 on 3 November 2026, running alongside Super Speedy AJAX Prices 1.15.7, and it scored 100/100 for security. The review was carried out by an AI agent working through our written security checklist. It read every file of the add-on’s own code and checked its behaviour on a private test site.
What was found and fixed
This review found nothing new. The 90/100 published on 4 September 2026 reflected one finding in the shared licensing and update library that all our paid plugins carry:
- SECURITY-001, Medium, 10 points. Update downloads included the licence key in the download URL. Web servers, proxies and the update records WordPress keeps could all store that URL. Fix: the licence key is now sent in a request header that goes only to our update server. Fixed in: 1.13.11 (shared library 1.14.3). Version 1.13.12 also includes shared library 1.14.5, which stops the AI connection set-up from creating a user unless the person setting it up is allowed to add users.
What the review covered
| Area | Result | Evidence |
|---|---|---|
| Authentication, authorisation, ownership and request forgery | Checked | Each of the six admin actions needs a nonce and either manage_woocommerce or edit_shop_orders. Product and order fields are saved only through WooCommerce’s own checked save hooks. Visitors who are not logged in cannot reach any of these actions (tested). |
| SQL injection | Checked | Every query uses fixed text or $wpdb->prepare(), including the rule summary, the importer and the refusal log. |
| Cross-site scripting | Checked | All PHP output is escaped. The admin JavaScript escapes server values before inserting them. Zone names are sanitised, and currencies and countries are checked against WooCommerce’s own lists. |
| Server-side request forgery, open redirects and header injection | Checked | Exchange rates come from two fixed HTTPS services. The preview resolves shop URLs locally without fetching them. Alert emails go to the site admin address with fixed headers. |
| File uploads and path traversal | Not applicable | The add-on does not accept uploads, write files or include files by name. |
| Remote code execution and unsafe deserialisation | Checked | The code has no unserialize, no eval and no process calls. |
| XML parsing | Not applicable | The add-on does not parse XML. |
| Secrets, privacy and data exposure | Checked | Only administrators can see the refusal log. Each visitor’s cart data includes only that visitor’s own totals in the shop currency. |
| Prices, currencies and checkout integrity | Checked | Prices are worked out on the server for every request, and nothing the browser sends sets an amount. When a payment method cannot take the local currency, the whole checkout falls back to shop prices, so line items, totals and currency always match. A paid order’s currency cannot be changed. The add-on’s integration tests for gateway currency and payment amounts pass. |
| Dependencies | Checked | The shared settings library is at 1.14.5 and has no known advisories. There are no other dependencies. |
| JWT, GraphQL and server-side templates | Not applicable | The add-on uses none of these. |
Not scored
- The customer’s address decides the price zone. By default the zone follows the billing country the customer enters, the same address WooCommerce uses for tax. A customer can therefore choose a country whose zone is cheaper. Shops can base the zone on the shipping address or on geolocation instead.
- Live payment sandboxes. The tests that send real sandbox payments to Stripe and PayPal were skipped because no sandbox keys were available. The checks of the payment amounts sent to those gateways ran and passed.