Codecorun – Product Offer Rules Security & Risk Analysis

wordpress.org/plugins/codecorun-product-offer-rules

An extension plugin for WooCommerce to let you upsell products with rules and conditions

0 active installs v1.1.0 PHP 7.0+ WP 4.7+ Updated Jan 29, 2023
ecommerceextensionproductupsellwoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Codecorun – Product Offer Rules Safe to Use in 2026?

Generally Safe

Score 85/100

Codecorun – Product Offer Rules has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The "codecorun-product-offer-rules" v1.1.0 plugin exhibits a generally good security posture, with no reported vulnerabilities or critical taint flows. The code analysis indicates strong adherence to secure coding practices, evidenced by the complete absence of dangerous functions, raw SQL queries, and file operations. Furthermore, a high percentage of output is properly escaped, and SQL queries exclusively use prepared statements. The presence of nonce and capability checks also contributes positively to its security.

However, there are notable areas of concern. The plugin has a moderate attack surface with four entry points, two of which (AJAX handlers) lack authentication checks. This represents a significant risk as unauthenticated users could potentially interact with these handlers, leading to unintended behavior or exploitation. While the taint analysis found no unsanitized paths, the presence of unprotected AJAX endpoints means that even without a detected taint flow, malicious input could be processed by these handlers, potentially causing issues if the handlers perform sensitive operations or improperly handle user-supplied data.

Given the clean vulnerability history, it's plausible that the unprotected AJAX handlers are either benign in their current implementation or have not yet been targeted or discovered. Nevertheless, this oversight is a critical security weakness that needs immediate attention. The plugin's strengths lie in its secure data handling and robust SQL practices, but the exposed AJAX endpoints are a significant vulnerability that overshadows these positives.

Key Concerns

  • AJAX handlers without auth checks
  • Large attack surface with unprotected entry points
Vulnerabilities
None known

Codecorun – Product Offer Rules Security Vulnerabilities

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

Codecorun – Product Offer Rules Code Analysis

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

Output Escaping

91% escaped54 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<codecorun-por-admin-class> (admin\includes\codecorun-por-admin-class.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Codecorun – Product Offer Rules Attack Surface

Entry Points4
Unprotected2

AJAX Handlers 3

authwp_ajax_codecorun_offer_product_optionsadmin\includes\codecorun-por-admin-class.php:50
authwp_ajax_codecorun_offer_page_optionsadmin\includes\codecorun-por-admin-class.php:51
authwp_ajax_codecorun_offer_post_page_optionsadmin\includes\codecorun-por-admin-class.php:52

Shortcodes 1

[codecorun-offers] includes\codecorun-por-main-class.php:38
WordPress Hooks 11
actioninitadmin\includes\codecorun-por-admin-class.php:42
filtermanage_codecorun-por_posts_columnsadmin\includes\codecorun-por-admin-class.php:43
actionmanage_codecorun-por_posts_custom_columnadmin\includes\codecorun-por-admin-class.php:44
actionadd_meta_boxesadmin\includes\codecorun-por-admin-class.php:45
actionadmin_enqueue_scriptsadmin\includes\codecorun-por-admin-class.php:48
actionsave_post_codecorun-poradmin\includes\codecorun-por-admin-class.php:53
actionadmin_menuadmin\includes\codecorun-por-admin-class.php:56
actioninitcodecorun-por.php:24
actionplugins_loadedcodecorun-por.php:55
actiontemplate_redirectincludes\codecorun-por-main-class.php:39
actionwoocommerce_payment_completeincludes\codecorun-por-main-class.php:40
Maintenance & Trust

Codecorun – Product Offer Rules Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedJan 29, 2023
PHP min version7.0
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Codecorun – Product Offer Rules Developer Profile

codelad

3 plugins · 0 total installs

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

How We Detect Codecorun – Product Offer Rules

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/codecorun-product-offer-rules/admin/assets/admin.css/wp-content/plugins/codecorun-product-offer-rules/admin/assets/market.css
Script Paths
/wp-content/plugins/codecorun-product-offer-rules/admin/assets/admin.js
Version Parameters
codecorun-product-offer-rules/admin/assets/admin.css?ver=codecorun-product-offer-rules/admin/assets/market.css?ver=

HTML / DOM Fingerprints

CSS Classes
codecorun-por-admin-assets-js
Data Attributes
codecorun_por_ajaxcodecorun_por_noncecodecorun_saved_offerscodecorun_saved_fallbackcodecorun_saved_rulescodecorun_por_rules+2 more
JS Globals
codecorun_por_ajaxcodecorun_por_noncecodecorun_saved_offerscodecorun_saved_fallbackcodecorun_saved_rulescodecorun_por_rules+2 more
REST Endpoints
/wp-json/codecorun/por/v1/options
FAQ

Frequently Asked Questions about Codecorun – Product Offer Rules