BOGO Same Product (Buy One Get One Free) Security & Risk Analysis

wordpress.org/plugins/virtualcode-bogo-same-product

Run Buy One Get One Free promotions in WooCommerce with automatic cart handling.

0 active installs v1.0.0 PHP 8.0+ WP 5.9+ Updated Jan 30, 2026
bogobuy-one-get-one-freediscountpromotionwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is BOGO Same Product (Buy One Get One Free) Safe to Use in 2026?

Generally Safe

Score 100/100

BOGO Same Product (Buy One Get One Free) has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The virtualcode-bogo-same-product plugin, version 1.0.0, exhibits a strong security posture based on the provided static analysis. The plugin has no identified attack surface from AJAX handlers, REST API routes, shortcodes, or cron events, and all entry points appear to be protected. Furthermore, the code demonstrates good practices by avoiding dangerous functions, utilizing prepared statements for all SQL queries, and implementing nonce and capability checks.

However, a minor concern arises from the output escaping analysis, where 92% of outputs are properly escaped, indicating a small percentage of potentially unescaped output. While taint analysis shows no critical or high severity unsanitized paths, this small oversight in output escaping could theoretically lead to XSS vulnerabilities if user-supplied data is not handled correctly in the unescaped portions. The plugin's vulnerability history is clean, with no known CVEs, which is a positive indicator of its security over time. Overall, the plugin is well-secured with robust coding practices, and the primary area for attention is ensuring the remaining output is also diligently escaped.

Key Concerns

  • Slightly less than 100% output escaping
Vulnerabilities
None known

BOGO Same Product (Buy One Get One Free) Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

BOGO Same Product (Buy One Get One Free) Release Timeline

v1.0.0Current
Code Analysis
Analyzed Mar 17, 2026

BOGO Same Product (Buy One Get One Free) Code Analysis

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

Output Escaping

92% escaped12 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
vc_bogo_render_settings_page (virtualcode-bogo-same-product.php:185)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

BOGO Same Product (Buy One Get One Free) Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_noticesvirtualcode-bogo-same-product.php:44
actionplugins_loadedvirtualcode-bogo-same-product.php:60
actionwoocommerce_add_to_cartvirtualcode-bogo-same-product.php:67
actionwoocommerce_before_calculate_totalsvirtualcode-bogo-same-product.php:68
actionwoocommerce_after_cart_item_quantity_updatevirtualcode-bogo-same-product.php:69
filterwoocommerce_cart_item_namevirtualcode-bogo-same-product.php:70
actionwoocommerce_checkout_create_order_line_itemvirtualcode-bogo-same-product.php:71
actionadmin_menuvirtualcode-bogo-same-product.php:74
actionadmin_initvirtualcode-bogo-same-product.php:75
actionwp_dashboard_setupvirtualcode-bogo-same-product.php:78
actionadmin_enqueue_scriptsvirtualcode-bogo-same-product.php:91
Maintenance & Trust

BOGO Same Product (Buy One Get One Free) Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 30, 2026
PHP min version8.0
Downloads150

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

BOGO Same Product (Buy One Get One Free) Developer Profile

Virtualcode

1 plugin · 0 total installs

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

How We Detect BOGO Same Product (Buy One Get One Free)

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/virtualcode-bogo-same-product/assets/admin.css
Version Parameters
virtualcode-bogo-same-product/assets/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
vc-bogo-tabvc-bogo-tab-contentvc-bogo-product-selection
Data Attributes
data-target
FAQ

Frequently Asked Questions about BOGO Same Product (Buy One Get One Free)