WordPress Plugin Vulnerabilities

Advanced Shipment Tracking for WooCommerce < 3.9.1 - Shop Manager+ SQL Injection via 'tracking_provider' Parameter

Description

The plugin is vulnerable to SQL Injection via the `tracking_provider` parameter of the `POST /wp-json/wc-ast/v3/orders/<order_id>/shipment-trackings` REST endpoint. This is due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query in `WC_Advanced_Shipment_Tracking_Admin::get_provider_slug_from_name()` — the value is concatenated directly into the format string of `$wpdb->prepare()` rather than bound as a parameter, bypassing parameterised-query protections. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to append additional SQL queries into the already-existing query that can be used to extract sensitive information from the database.

Affects Plugins

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Nguyen Truong (Roll)
Verified
No

Timeline

Publicly Published
2026-07-28 (about 3 months ago)
Added
2026-09-29 (about 1 month ago)
Last Updated
2026-09-29 (about 1 month ago)

Other