WordPress.WP.AlternativeFunctions.file_system_operations_fread
file system operations fread
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 | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #251 | Download Attachments | 32 | 69 | 188 | 8k+ | Non-prefixed hook name | |
| #252 | WP 2-step verification | 32 | 154 | 65 | 1k+ | Output is not escaped | |
| #253 | EchBay Phonering Alo | 33 | 74 | 47 | 1k+ | Output is not escaped | |
| #254 | WP GIF Uploader | 33 | 117 | 44 | 1k+ | Text Domain Mismatch | |
| #255 | Merge + Minify + Refresh | 33 | 78 | 26 | 4k+ | date date | |
| #256 | QNAP NAS Backup | 33 | 374 | 70 | 2k+ | Non Singular String Literal Domain | |
| #257 | WP EXtra – One Click Optimize | 33 | 414 | 101 | 7k+ | Missing Arg Domain | |
| #258 | EasyMedia – Increase Media Upload File Size | Role-Based Upload Limit | Increase Execution Time | 33 | 82 | 138 | 70k+ | Non-prefixed global variable | |
| #259 | AGCA – Custom Dashboard & Login Page | 34 | 350 | 44 | 20k+ | Unsafe printing function | |
| #260 | Download After Email – Subscribe & Download Form Plugin | 34 | 22 | 356 | 7k+ | Input is not validated | |
| #261 | Montonio for WooCommerce | 34 | 44 | 257 | 10k+ | Non-prefixed global variable | |
| #262 | Payoneer Checkout | 34 | 168 | 41 | 6k+ | Exception output is not escaped | |
| #263 | WP LinkedIn Auto Publish | 34 | 165 | 56 | 8k+ | Output is not escaped | |
| #264 | Create Block Theme | 35 | 43 | 5 | 20k+ | unlink unlink | |
| #265 | Editorial Calendar | 35 | 127 | 160 | 20k+ | Output is not escaped | |
| #266 | EWWW Image Optimizer | 35 | 225 | 729 | 1m+ | Direct Query | |
| #267 | Imsanity | 35 | 32 | 29 | 200k+ | Direct Query | |
| #268 | Page Optimize | 35 | 70 | 41 | 200k+ | Non Singular String Literal Domain | |
| #269 | Converter for Media – Optimize images | Convert WebP & AVIF | 35 | 133 | 53 | 500k+ | curl curl setopt | |
| #270 | Dashboard Widgets Suite | 36 | 206 | 124 | 4k+ | Output is not escaped | |
| #271 | HTML5 Maps | 36 | 194 | 160 | 5k+ | Output is not escaped | |
| #272 | Quick 301 Redirects | 36 | 89 | 120 | 5k+ | Non-prefixed global variable | |
| #273 | Export Themes | 36 | 122 | 90 | 2k+ | Non-prefixed constant | |
| #274 | Sensei LMS Certificates | 37 | 97 | 362 | 5k+ | Non-prefixed global variable | |
| #275 | Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin | 37 | 99 | 33 | 10k+ | Text Domain Mismatch | |
| #276 | WP Maintenance Mode & Site Under Construction | 38 | 72 | 57 | 3k+ | Output is not escaped | |
| #277 | WP-ServerInfo | 38 | 162 | 55 | 10k+ | Output is not escaped | |
| #278 | Debug Log Viewer | 39 | 24 | 95 | 1k+ | Non-prefixed global variable | |
| #279 | GS Only PDF Preview | 39 | 46 | 36 | 1k+ | Output is not escaped | |
| #280 | NextGEN Download Gallery | 39 | 57 | 21 | 2k+ | Short PHP open tag found | |
| #281 | Virusdie | One-click website security | 39 | 149 | 66 | 2k+ | Output is not escaped | |
| #282 | Advanced Country Blocker | 40 | 23 | 77 | 2k+ | Exception output is not escaped | |
| #283 | Advanced IP Blocker | 40 | 94 | 44 | 2k+ | Exception output is not escaped | |
| #284 | All-in-One WP Migration and Backup | 40 | 28 | 61 | 5m+ | Missing nonce verification | |
| #285 | WPO365 | Mail Integration for Office 365 / Outlook | 40 | 59 | 27 | 2k+ | Output is not escaped | |
| #286 | Sentry for WordPress | 40 | 80 | 40 | 10k+ | Text Domain Mismatch | |
| #287 | Heroic Favicon Generator | 41 | 104 | 7 | 6k+ | Output is not escaped | |
| #288 | Gelato Integration for WooCommerce | 42 | 36 | 32 | 5k+ | Output is not escaped | |
| #289 | SmartVideo – Video Player and CDN | 44 | 295 | 44 | 1k+ | Text Domain Mismatch | |
| #290 | Gravity Forms Constant Contact | 46 | 36 | 27 | 3k+ | Non-prefixed class | |
| #291 | Compress, Resize & Lazy Load Images – WPvivid Image Optimization | 47 | 107 | 58 | 10k+ | Missing direct file access protection | |
| #292 | SpinupWP | 49 | 43 | 38 | 30k+ | Non-prefixed function | |
| #293 | Connect Contact Form 7 and Mailchimp | 53 | 236 | 52 | 40k+ | Text Domain Mismatch | |
| #294 | Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely | 53 | 34 | 90 | 20k+ | Database parameter is not escaped | |
| #295 | CSV Importer | 54 | 24 | 11 | 3k+ | Missing direct file access protection | |
| #296 | Gravity PDF | 57 | 116 | 152 | 20k+ | Non-prefixed global variable | |
| #297 | PDF invoice for WP ERP | 58 | 96 | 134 | 2k+ | Non-prefixed global variable | |
| #298 | flowpaper | 58 | 14 | 31 | 10k+ | Non-prefixed function | |
| #299 | Videopack | 58 | 28 | 108 | 10k+ | Input is not sanitized | |
| #300 | Resize Image After Upload | 59 | 15 | 11 | 80k+ | Output is not escaped |