Portugal CTT Tracking for WooCommerce Security & Risk Analysis

wordpress.org/plugins/portugal-ctt-tracking-woocommerce

Lets you associate a tracking code with a WooCommerce order so that both the store owner and the client can track the order sent with CTT

600 active installs v2.4 PHP 7.2+ WP 5.8+ Updated Oct 9, 2025
cttecommerceshippingtrackingwoocommerce
100
A · Safe
CVEs total1
Unpatched0
Last CVEFeb 5, 2024
Safety Verdict

Is Portugal CTT Tracking for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Portugal CTT Tracking for WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Feb 5, 2024Updated 5mo ago
Risk Assessment

The plugin "portugal-ctt-tracking-woocommerce" v2.4 exhibits a mixed security posture. On the positive side, it demonstrates strong adherence to secure coding practices regarding SQL queries, with 100% using prepared statements, and nearly all output is properly escaped. The absence of dangerous functions, file operations, and critical/high severity taint flows suggests a careful approach to preventing common web vulnerabilities.

However, significant concerns arise from the attack surface analysis. The plugin exposes one AJAX handler without any authentication checks, creating a direct entry point for potential attackers. This lack of authorization on an AJAX endpoint is a critical security oversight. While the vulnerability history shows only one medium severity Cross-Site Scripting (XSS) vulnerability, and it is reported as patched, the presence of an unauthenticated AJAX endpoint significantly amplifies the potential impact of any future input validation flaws. The single external HTTP request is a minor point of interest but less concerning without further context on its usage.

In conclusion, while the plugin has strengths in its SQL handling and output escaping, the unauthenticated AJAX endpoint represents a substantial risk. This weakness, combined with the past XSS vulnerability, suggests that diligent attention to authentication and authorization on all entry points is crucial for maintaining a robust security posture. The plugin has good underlying coding practices but a critical flaw in its access control.

Key Concerns

  • Unprotected AJAX handler
  • Past medium severity XSS vulnerability
Vulnerabilities
1

Portugal CTT Tracking for WooCommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2024-24878medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Portugal CTT Tracking for WooCommerce <= 2.1 - Reflected Cross-Site Scripting

Feb 5, 2024 Patched in 2.2 (4d)
Code Analysis
Analyzed Mar 16, 2026

Portugal CTT Tracking for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
1
66 escaped
Nonce Checks
1
Capability Checks
0
File Operations
0
External Requests
1
Bundled Libraries
0

Output Escaping

99% escaped67 total outputs
Attack Surface
1 unprotected

Portugal CTT Tracking for WooCommerce Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_dismiss_webdados_portuguese_postcodes_nagwebdados-portuguese-postcodes-nag\webdados-portuguese-postcodes-nag.php:80
WordPress Hooks 17
actionadd_meta_boxesincludes\class-ctt-tracking.php:77
actionwoocommerce_process_shop_order_metaincludes\class-ctt-tracking.php:78
actionwoocommerce_order_details_after_order_tableincludes\class-ctt-tracking.php:79
actionwoocommerce_email_before_order_tableincludes\class-ctt-tracking.php:82
actionwoocommerce_email_after_order_tableincludes\class-ctt-tracking.php:85
actionwoocommerce_email_customer_detailsincludes\class-ctt-tracking.php:88
filterwoocommerce_shipping_settingsincludes\class-ctt-tracking.php:92
actionwoocommerce_admin_field_ctt_tracking_titleincludes\class-ctt-tracking.php:93
actionportugal_ctt_tracking_set_tracking_codeincludes\class-ctt-tracking.php:96
actionportugal_ctt_tracking_update_info_for_orderincludes\class-ctt-tracking.php:98
filterplugin_localeincludes\class-ctt-tracking.php:604
actioninitportugal-ctt-tracking-woocommerce.php:35
actionadmin_noticesportugal-ctt-tracking-woocommerce.php:53
actioninitportugal-ctt-tracking-woocommerce.php:56
actionbefore_woocommerce_initportugal-ctt-tracking-woocommerce.php:98
actionadmin_initportugal-ctt-tracking-woocommerce.php:110
actionadmin_noticeswebdados-portuguese-postcodes-nag\webdados-portuguese-postcodes-nag.php:67
Maintenance & Trust

Portugal CTT Tracking for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedOct 9, 2025
PHP min version7.2
Downloads13K

Community Trust

Rating100/100
Number of ratings5
Active installs600
Developer Profile

Portugal CTT Tracking for WooCommerce Developer Profile

Marco Almeida | Webdados

21 plugins · 27K total installs

79
trust score
Avg Security Score
100/100
Avg Patch Time
143 days
View full developer profile
Detection Fingerprints

How We Detect Portugal CTT Tracking for WooCommerce

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/portugal-ctt-tracking-woocommerce/assets/css/ctt-tracking-admin.css/wp-content/plugins/portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-admin.js/wp-content/plugins/portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-public.js
Script Paths
/wp-content/plugins/portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-admin.js/wp-content/plugins/portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-public.js
Version Parameters
portugal-ctt-tracking-woocommerce/assets/css/ctt-tracking-admin.css?ver=portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-admin.js?ver=portugal-ctt-tracking-woocommerce/assets/js/ctt-tracking-public.js?ver=

HTML / DOM Fingerprints

CSS Classes
ctt-tracking-order-datactt-tracking-email-datactt-tracking-field-title
HTML Comments
/* If you're reading this you must know what you're doing ;-) Greetings from sunny Portugal! */
Data Attributes
data-ctt-tracking-order-id
JS Globals
CTT_Trackingctt_tracking_options
FAQ

Frequently Asked Questions about Portugal CTT Tracking for WooCommerce