WordPress.WP.AlternativeFunctions.file_system_operations_fopen
file system operations fopen
The plugin performs filesystem work with raw PHP functions where WordPress expects safer filesystem handling.
Why It Shows Up
Plugin Check found functions such as `fopen`, `fwrite`, `chmod`, `mkdir`, `readfile`, or related operations.
Why It Matters
WordPress sites can use different filesystem permissions and transports. Raw filesystem calls can fail on common hosts or write to unsafe locations.
How to Fix
- Use WordPress filesystem helpers when writing, reading, or changing files in plugin-managed paths.
- Validate paths and keep writes inside directories owned by the plugin or WordPress uploads.
- Never write PHP code from user input or remote responses.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #901 | WP-Paginate | 35 | 37 | 55 | 20k+ | Input is not validated | ||
| #902 | WP PGP Encrypted Emails | 35 | 63 | 39 | 400 | Output is not escaped | ||
| #903 | video carousel slider with lightbox | 35 | 350 | 136 | 1k+ | Output is not escaped | ||
| #904 | WSB HUB3 | 35 | 36 | 109 | 1k+ | Missing nonce verification | ||
| #905 | XServer Migrator | 35 | 39 | 53 | 10k+ | Interpolated SQL is not prepared | ||
| #906 | Yabe Webfont – Use Custom Fonts, Google Fonts or Adobe Fonts | 35 | 48 | 114 | 5k+ | Non-prefixed hook name | ||
| #907 | Year Make Model Search for WooCommerce | 35 | 188 | 162 | 1k+ | Output is not escaped | ||
| #908 | Bard Extra | 36 | 159 | 75 | 700 | Text Domain Mismatch | ||
| #909 | Blaze Demo Importer | 36 | 101 | 94 | 8k+ | Output is not escaped | ||
| #910 | bpost shipping | 36 | 97 | 43 | 700 | Output is not escaped | ||
| #911 | Cashflows for WooCommerce | 36 | 118 | 36 | 600 | Text Domain Mismatch | ||
| #912 | Simple SEO | 36 | 164 | 113 | 10k+ | Non Singular String Literal Domain | ||
| #913 | Contact Form 7 Polylang Module | 36 | 32 | 45 | 5k+ | Output is not escaped | ||
| #914 | ColorMeShop WordPress Plugin | 36 | 392 | 37 | 600 | Exception output is not escaped | ||
| #915 | Custom PHP Settings | 36 | 153 | 76 | 10k+ | Output is not escaped | ||
| #916 | Dashboard Widgets Suite | 36 | 206 | 124 | 4k+ | Output is not escaped | ||
| #917 | Drag and Drop Multiple File Upload for Contact Form 7 | 36 | 82 | 36 | 60k+ | wp function not compatible with requires wp | ||
| #918 | Export Variable Products | 36 | 79 | 49 | 400 | Text Domain Mismatch | ||
| #919 | HTML5 Maps | 36 | 194 | 160 | 5k+ | Output is not escaped | ||
| #920 | If-So Geolocation | 36 | 50 | 57 | 1k+ | Non-prefixed global variable | ||
| #921 | Just TinyMCE Custom Styles | 36 | 112 | 28 | 1k+ | Missing Arg Domain | ||
| #922 | Leartes TRY Exchange Rates | 36 | 250 | 27 | 500 | Text Domain Mismatch | ||
| #923 | We’re Open! | 36 | 273 | 187 | 5k+ | Unsafe printing function | ||
| #924 | PDF Forms Filler for CF7 | 36 | 185 | 79 | 3k+ | Text Domain Mismatch | ||
| #925 | PDF Forms Filler for WPForms | 36 | 161 | 54 | 600 | Text Domain Mismatch | ||
| #926 | Plugins Garbage Collector (Database Cleanup) | 36 | 32 | 51 | 10k+ | Missing nonce verification | ||
| #927 | Qubely – Advanced Gutenberg Blocks | 36 | 39 | 78 | 8k+ | Request data is not unslashed | ||
| #928 | Quick 301 Redirects | 36 | 89 | 120 | 5k+ | Non-prefixed global variable | ||
| #929 | Search & Replace | 36 | 50 | 53 | 100k+ | Missing nonce verification | ||
| #930 | Search Everything | 36 | 165 | 77 | 10k+ | Text Domain Mismatch | ||
| #931 | Speed Optimizer – The All-In-One Performance-Boosting Plugin | 36 | 45 | 96 | 1m+ | Non-prefixed hook name | ||
| #932 | Shadowbox JS | 36 | 246 | 14 | 1k+ | Unsafe printing function | ||
| #933 | SMTP for SendGrid – YaySMTP | 36 | 27 | 96 | 1k+ | Non-prefixed global variable | ||
| #934 | Sync QCloud COS | 36 | 63 | 109 | 600 | Non-prefixed function | ||
| #935 | SuperFaktura WooCommerce | 36 | 60 | 116 | 2k+ | Nonce verification recommended | ||
| #936 | Export Themes | 36 | 122 | 90 | 2k+ | Non-prefixed constant | ||
| #937 | WP LaTeX | 36 | 103 | 12 | 700 | Output is not escaped | ||
| #938 | Payment Button for PayPal | 36 | 155 | 86 | 4k+ | Unsafe printing function | ||
| #939 | WP Hardening (discontinued) | 36 | 230 | 85 | 10k+ | Text Domain Mismatch | ||
| #940 | WP Stripe Checkout | 36 | 198 | 118 | 1k+ | Unsafe printing function | ||
| #941 | WP Super Edit | 36 | 35 | 185 | 2k+ | Nonce verification recommended | ||
| #942 | Adaptive Images for WordPress | 37 | 51 | 75 | 3k+ | Output is not escaped | ||
| #943 | Analytics Spam Blocker | 37 | 76 | 22 | 800 | Unsafe printing function | ||
| #944 | Asesor de Cookies RGPD para normativa europea | 37 | 92 | 87 | 20k+ | wp function not compatible with requires wp | ||
| #945 | Async JavaScript | 37 | 357 | 79 | 70k+ | Unsafe printing function | ||
| #946 | authLdap | 37 | 46 | 30 | 4k+ | Exception output is not escaped | ||
| #947 | Call Now Button – The #1 Click to Call Button for WordPress | 37 | 1,273 | 5 | 200k+ | Exception output is not escaped | ||
| #948 | Checkout for PayPal | 37 | 134 | 67 | 600 | Unsafe printing function | ||
| #949 | CookieAdmin – Cookie Consent Banner | 37 | 43 | 86 | 400k+ | Nonce verification recommended | ||
| #950 | Debug Log Viewer | 37 | 26 | 83 | 1k+ | Missing nonce verification |