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 |
|---|---|---|---|---|---|---|---|---|
| #1051 | WoowGallery | 60 | 15 | 178 | 1k+ | Non-prefixed global variable | ||
| #1052 | Import entries for Gravity Forms | 62 | 6 | 26 | 500 | Input is not validated | ||
| #1053 | Easy SSL Plugin for SAKURA Rental Server | 62 | 23 | 17 | 50k+ | Input is not sanitized | ||
| #1054 | Include Klaviyo for Elementor pro | 63 | 60 | 10 | 2k+ | Missing Arg Domain | ||
| #1055 | Admin CSS MU | 64 | 30 | 582 | 10k+ | Non-prefixed global variable | ||
| #1056 | CV Demo Importer | 64 | 21 | 95 | 400 | Non-prefixed global variable | ||
| #1057 | Embed Google Fonts | 64 | 28 | 7 | 5k+ | Output is not escaped | ||
| #1058 | WP Search with Algolia | 64 | 26 | 16 | 7k+ | Exception output is not escaped | ||
| #1059 | QRCode | 65 | 21 | 39 | 400 | Non-prefixed constant | ||
| #1060 | WP-Farsi | 65 | 26 | 36 | 600 | Non-prefixed function | ||
| #1061 | Debug Log Manager – Conveniently Monitor and Inspect Errors | 66 | 33 | 44 | 10k+ | Input is not validated | ||
| #1062 | Easy PHP Settings | 66 | 34 | 48 | 1k+ | Missing Translators Comment | ||
| #1063 | Really Simple CSV Importer | 66 | 38 | 8 | 40k+ | Output is not escaped | ||
| #1064 | Safe Redirect Manager | 66 | 9 | 60 | 40k+ | Non-prefixed hook name | ||
| #1065 | Meks Audio Player | 67 | 25 | 7 | 1k+ | Output is not escaped | ||
| #1066 | Printful Integration for WooCommerce | 67 | 218 | 76 | 50k+ | Text Domain Mismatch | ||
| #1067 | Simple HTTPS | 67 | 17 | 13 | 400 | Output is not escaped | ||
| #1068 | wp-Typography | 67 | 91 | 33 | 20k+ | Missing direct file access protection | ||
| #1069 | Desert Companion | 68 | 412 | 837 | 20k+ | Non-prefixed global variable | ||
| #1070 | Russian Post and EMS for WooCommerce | 68 | 16 | 47 | 1k+ | Non-prefixed global variable | ||
| #1071 | WiserReview Product Reviews for WooCommerce | 68 | 21 | 110 | 900 | Non-prefixed global variable | ||
| #1072 | Debug | 69 | 25 | 34 | 2k+ | Input is not sanitized | ||
| #1073 | Show-Hide / Collapse-Expand | 70 | 18 | 15 | 10k+ | Missing direct file access protection | ||
| #1074 | SQL Executioner | 70 | 18 | 17 | 2k+ | Non-prefixed global variable | ||
| #1075 | Bold Timeline Lite | 71 | 220 | 561 | 10k+ | Non-prefixed global variable | ||
| #1076 | Nginx Helper | 71 | 47 | 60 | 200k+ | Non-prefixed global variable | ||
| #1077 | Shipping Rate By Cities | 72 | 4 | 21 | 700 | Direct Query | ||
| #1078 | TinyPNG – JPEG, PNG & WebP image compression | 72 | 40 | 73 | 100k+ | Non-prefixed global variable | ||
| #1079 | Emergency password reset | 73 | 56 | 14 | 800 | wp function not compatible with requires wp | ||
| #1080 | Export Plugin Details | 73 | 13 | 6 | 2k+ | Output is not escaped | ||
| #1081 | WPWaterMark 轻水印插件 | 73 | 24 | 17 | 1k+ | Request data is not unslashed | ||
| #1082 | wp-forecast | 75 | 263 | 117 | 5k+ | Missing Arg Domain | ||
| #1083 | Cache External Scripts | 76 | 21 | 4 | 900 | Output is not escaped | ||
| #1084 | WordPress REST API (Version 2) | 82 | 476 | 13 | 10k+ | Missing Arg Domain | ||
| #1085 | Soro – SEO Autopilot & AI Content Writer | 83 | 4 | 10 | 9k+ | Input is not sanitized | ||
| #1086 | Cachify | 84 | 9 | 36 | 9k+ | Non-prefixed global variable | ||
| #1087 | Digital Signature For Contact Form 7 | 84 | 22 | 11 | 5k+ | file system operations fwrite | ||
| #1088 | Salt Shaker | 85 | 15 | 13 | 6k+ | Interpolated SQL is not prepared | ||
| #1089 | VenoMaps – OpenStreetMap & Privacy-Friendly Geo Maps | 86 | 20 | 6 | 400 | wp function not compatible with requires wp | ||
| #1090 | Microsoft Azure Storage for WordPress | 86 | 25 | 26 | 2k+ | Missing Translators Comment | ||
| #1091 | Transferito: WP Migration | 88 | 16 | 115 | 500 | Non-prefixed global variable | ||
| #1092 | External files in Media Library | 90 | 16 | 68 | 400 | Direct Query | ||
| #1093 | Snow Monkey Forms | 91 | 36 | 41 | 30k+ | Non-prefixed global variable | ||
| #1094 | Drag and Drop File Upload for Elementor Forms | 94 | 29 | 1 | 1k+ | curl curl setopt | ||
| #1095 | Speed Up – Browser Caching | 95 | 13 | 2 | 700 | file system operations is writable | ||
| #1096 | All Sources Images – Free Images from Pixabay, Unsplash, Openverse, Pexels & Giphy | 96 | 9 | 9 | 700 | wp function not compatible with requires wp | ||
| #1097 | Enable SVG, WebP, and ICO Upload | 96 | 12 | 16 | 10k+ | Non-prefixed global variable | ||
| #1098 | Grow for WordPress | 96 | 7 | 5 | 10k+ | trademarked term | ||
| #1099 | iGen SEO | 96 | 5 | 10 | 400 | Non-prefixed hook name | ||
| #1100 | Flexible Cookies | 97 | 5 | 39 | 3k+ | Non-prefixed global variable |