Disable Cart Fragments by Optimocha Security & Risk Analysis

wordpress.org/plugins/disable-cart-fragments

A better way to disable WooCommerce's cart fragments script, and re-enqueue it when the cart is updated. Works with all caching plugins.

10K active installs v2.4.1 PHP 5.6+ WP 4.6+ Updated Sep 1, 2025
cart-fragmentsdisable-cart-fragmentswoocommercewoocommerce-cart-fragments
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disable Cart Fragments by Optimocha Safe to Use in 2026?

Generally Safe

Score 100/100

Disable Cart Fragments by Optimocha has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7mo ago
Risk Assessment

The "disable-cart-fragments" plugin version 2.4.1 demonstrates a generally strong security posture based on the provided static analysis. The absence of dangerous functions, raw SQL queries, file operations, and external HTTP requests are positive indicators. Its limited attack surface, consisting of two AJAX handlers, is also a strength, especially with no identified unprotected entry points.

However, a significant concern arises from the output escaping. With one total output analyzed and 0% properly escaped, this presents a notable risk. While taint analysis shows no unsanitized paths and the vulnerability history is clean, the lack of output escaping could potentially lead to Cross-Site Scripting (XSS) vulnerabilities if user-controlled data is directly outputted without sanitization. The absence of nonce checks on AJAX handlers is also a weakness, though the presence of capability checks mitigates this to some extent by controlling access to these handlers.

In conclusion, the plugin has a solid foundation with few critical vulnerabilities indicated in its code. Its clean vulnerability history is encouraging, suggesting a history of secure development. Nevertheless, the unescaped output is a clear area for improvement and represents the primary security concern that could expose users to risks.

Key Concerns

  • Unescaped output
  • Missing nonce checks on AJAX handlers
Vulnerabilities
None known

Disable Cart Fragments by Optimocha Security Vulnerabilities

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

Disable Cart Fragments by Optimocha Code Analysis

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

Output Escaping

0% escaped1 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<DCF_Notice_Manager> (DCF_Notice_Manager.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Disable Cart Fragments by Optimocha Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_dcf_dismiss_noticeDCF_Notice_Manager.php:12
authwp_ajax_dcf_remove_notice_transientDCF_Notice_Manager.php:13
WordPress Hooks 6
actionadmin_enqueue_scriptsDCF_Notice_Manager.php:14
actionadmin_noticesDCF_Notice_Manager.php:53
actionbefore_woocommerce_initdisable-cart-fragments.php:34
actionadmin_initdisable-cart-fragments.php:48
actionadmin_noticesdisable-cart-fragments.php:52
actionwp_enqueue_scriptsdisable-cart-fragments.php:56
Maintenance & Trust

Disable Cart Fragments by Optimocha Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 1, 2025
PHP min version5.6
Downloads133K

Community Trust

Rating98/100
Number of ratings16
Active installs10K
Developer Profile

Disable Cart Fragments by Optimocha Developer Profile

Optimocha

3 plugins · 20K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
881 days
View full developer profile
Detection Fingerprints

How We Detect Disable Cart Fragments by Optimocha

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/disable-cart-fragments/js/dcf-notice-manager.js
Script Paths
/wp-content/plugins/disable-cart-fragments/js/dcf-notice-manager.js
Version Parameters
disable-cart-fragments/style.css?ver=disable-cart-fragments/js/dcf-notice-manager.js?ver=

HTML / DOM Fingerprints

CSS Classes
dcf-noticenotice-error
Data Attributes
data-notice-actiondata-notice-id
JS Globals
optimocha_getCookieoptimocha_check_wc_cart_script
FAQ

Frequently Asked Questions about Disable Cart Fragments by Optimocha