Carbon Balance: Carbon calculation and offsetting for WooCommerce Security & Risk Analysis

wordpress.org/plugins/carbonbalance-for-woocommerce

Empower your customers to make their order more climate Friendly

10 active installs v1.0.0.5 PHP 7.3+ WP 4.0+ Updated Sep 6, 2023
carbon-offsettingclimate-neutralco2-footprintgreensustainability
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Carbon Balance: Carbon calculation and offsetting for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Carbon Balance: Carbon calculation and offsetting for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "carbonbalance-for-woocommerce" plugin version 1.0.0.5 presents a mixed security posture. On the positive side, it shows no recorded vulnerabilities (CVEs), and the vast majority of its output is properly escaped, indicating good practices in preventing cross-site scripting attacks. It also does not appear to use dangerous functions or perform file operations, which are common sources of severe vulnerabilities. However, significant concerns arise from its attack surface. Two AJAX handlers are present, and critically, both lack any authentication checks. This means any unauthenticated user could potentially trigger these handlers, leading to unintended actions or information disclosure. The absence of nonce checks and capability checks further exacerbates this risk, as there are no mechanisms to verify user intent or authorization for these entry points. The single SQL query found is not using prepared statements, which is a potential risk for SQL injection vulnerabilities, though its impact might be limited if the query itself is simple and doesn't process user input directly. The presence of external HTTP requests also introduces a dependency on external services, which could be a vector for supply chain attacks or denial-of-service if those services are compromised or unavailable. The taint analysis showing unsanitized paths, while not resulting in critical or high severity issues in this scan, still indicates areas where input might not be handled securely. The lack of past vulnerabilities is reassuring but does not guarantee future security, especially given the identified weaknesses in handling AJAX requests. Overall, the plugin has some good security foundations but has critical oversights in its handling of AJAX entry points and SQL queries, demanding immediate attention.

Key Concerns

  • AJAX handlers without auth checks
  • Raw SQL query without prepared statement
  • No nonce checks
  • No capability checks
  • Taint flows with unsanitized paths
Vulnerabilities
None known

Carbon Balance: Carbon calculation and offsetting for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Carbon Balance: Carbon calculation and offsetting for WooCommerce Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

90% escaped67 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
carbonbalance_plugin_admin_overview (Components\Admin\Carbonbalance-AdminOverview.php:93)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Carbon Balance: Carbon calculation and offsetting for WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

noprivwp_ajax_carbonbalance_ajax_set_percentagecarbonbalance-plugin.php:380
authwp_ajax_carbonbalance_ajax_set_percentagecarbonbalance-plugin.php:381
WordPress Hooks 27
actionadmin_noticescarbonbalance-plugin.php:243
actionwoocommerce_initcarbonbalance-plugin.php:251
actionplugins_loadedcarbonbalance-plugin.php:281
actionwoocommerce_checkout_update_order_metacarbonbalance-plugin.php:291
actionwoocommerce_cart_collateralscarbonbalance-plugin.php:313
actionwoocommerce_before_checkout_formcarbonbalance-plugin.php:317
actionwoocommerce_checkout_before_customer_detailscarbonbalance-plugin.php:320
actionwoocommerce_after_checkout_billing_formcarbonbalance-plugin.php:323
actionwoocommerce_after_order_notescarbonbalance-plugin.php:326
actionwoocommerce_review_order_before_submitcarbonbalance-plugin.php:329
actionwoocommerce_checkout_order_reviewcarbonbalance-plugin.php:334
actionwoocommerce_cart_calculate_feescarbonbalance-plugin.php:349
actionwoocommerce_order_status_changedcarbonbalance-plugin.php:356
actionwoocommerce_order_refundedcarbonbalance-plugin.php:369
actionwp_enqueue_scriptscarbonbalance-plugin.php:376
actionwp_enqueue_scriptscarbonbalance-plugin.php:377
actionwp_enqueue_scriptscarbonbalance-plugin.php:378
filtercron_schedulescarbonbalance-plugin.php:406
filtercron_schedulescarbonbalance-plugin.php:407
actioncarbonbalance_participation_cron_hookcarbonbalance-plugin.php:413
actioncarbonbalance_clv_cron_hookcarbonbalance-plugin.php:420
actioncarbonbalance_impact_cron_hookcarbonbalance-plugin.php:426
actioncarbonbalance_ab_results_cron_hookcarbonbalance-plugin.php:435
actionupdate_merchant_cron_hookcarbonbalance-plugin.php:441
actionadmin_noticescarbonbalance-plugin.php:446
actionadmin_menuComponents\Admin\Carbonbalance-AdminOverview.php:16
actionadmin_post_carbonbalance_save_optionsComponents\Admin\views\default.php:9

Scheduled Events 5

carbonbalance_participation_cron_hook
carbonbalance_clv_cron_hook
carbonbalance_impact_cron_hook
carbonbalance_ab_results_cron_hook
update_merchant_cron_hook
Maintenance & Trust

Carbon Balance: Carbon calculation and offsetting for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.3.8
Last updatedSep 6, 2023
PHP min version7.3
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Carbon Balance: Carbon calculation and offsetting for WooCommerce Developer Profile

Carbon Balance

1 plugin · 10 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Carbon Balance: Carbon calculation and offsetting 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/carbonbalance-for-woocommerce/assets/js/frontend.js/wp-content/plugins/carbonbalance-for-woocommerce/assets/css/frontend.css/wp-content/plugins/carbonbalance-for-woocommerce/assets/css/admin.css/wp-content/plugins/carbonbalance-for-woocommerce/assets/js/admin.js
Script Paths
/wp-content/plugins/carbonbalance-for-woocommerce/assets/js/frontend.js/wp-content/plugins/carbonbalance-for-woocommerce/assets/js/admin.js
Version Parameters
carbonbalance-for-woocommerce/assets/js/frontend.js?ver=carbonbalance-for-woocommerce/assets/css/frontend.css?ver=carbonbalance-for-woocommerce/assets/css/admin.css?ver=carbonbalance-for-woocommerce/assets/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
carbonbalance_widgetmark_footer_oncarbonbalance_widgetmark_footer_offcarbonbalance_checkout_placement_checkout_order_reviewcarbonbalance_checkout_placement_before_order_notescarbonbalance_checkout_placement_after_order_notescarbonbalance_checkout_placement_order_review_before_submit_buttoncarbonbalance_checkout_placement_order_review_after_submit_buttoncarbonbalance_checkout_placement_before_customer_details+1 more
HTML Comments
<!-- BEGIN carbonbalance widgetmark --><!-- END carbonbalance widgetmark --><!-- BEGIN carbonbalance checkout --><!-- END carbonbalance checkout -->
Data Attributes
data-carbonbalance-widgetmark-footer
JS Globals
carbonbalance_js_vars
REST Endpoints
/wp-json/carbonbalance_plugin_woocommerce/v1/get_data/wp-json/carbonbalance_plugin_woocommerce/v1/add_order
FAQ

Frequently Asked Questions about Carbon Balance: Carbon calculation and offsetting for WooCommerce