WordPress.WP.AlternativeFunctions.file_system_operations_readfile

file system operations readfile

The plugin performs filesystem work with raw PHP functions where WordPress expects safer filesystem handling.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#101A2 Optimized WP – Turbocharge and secure your WordPress site2427123160k+Missing Arg Domain
#102AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress245,2341,4647k+Output is not escaped
#103Ad Inserter – Ad Manager & AdSense Ads244,260812300k+Output is not escaped
#104Advanced Contact form 7 DB247641,96070k+Non-prefixed global variable
#105Auto-Install Free SSL – Generate & Install Free SSL Certificates249911,4958k+Non-prefixed global variable
#106Backuply – Backup, Restore, Migrate and Clone24704551700k+Non-prefixed global variable
#107Barcode Scanner (+Mobile App) – Inventory manager, Order fulfillment system, POS (Point of Sale)241,8651,0891k+Text Domain Mismatch
#108Kognetiks Chatbot for WordPress246511,486600Non-prefixed global variable
#109CM Pop-Up – Create engaging popups to capture attention and boost interaction244664088k+Output is not escaped
#110Contact Form to DB by BestWebSoft – Messages Database Plugin For WordPress245293571k+Text Domain Mismatch
#111Custom Twitter Feeds – A Tweets Widget or X Feed Widget24446922100k+Output is not escaped
#112Customer Reviews for WooCommerce242,2022,44580k+Output is not escaped
#113Doubly – Cross Domain Copy Paste for WordPress242525510k+Output is not escaped
#114DSGVO All in one for WP24751,63720k+Non-prefixed global variable
#115eCommerce Product Catalog Plugin for WordPress246213,1777k+Non-prefixed function
#116Featured Post with thumbnail24158122400Output is not escaped
#117Formidable PRO2PDF242184771k+Non-prefixed global variable
#118GD Mail Queue24502582700Output is not escaped
#119GS Behance Portfolio – Display Projects, Gallery & Slider248551,617400Non-prefixed global variable
#120Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN243,41086670k+Text Domain Mismatch
#121InstaWP Connect – 1-click WP Staging & Migration2425381140k+Non-prefixed global variable
#122Dynamics 365 Integration24383166600Output is not escaped
#123LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes244141,17610k+Non-prefixed global variable
#124Generate Images (AI) – Magic Post Thumbnail241,9401,7616k+Non-prefixed global variable
#125MailerPress – Newsletter, email marketing & AI automation248053,9311k+Direct Query
#126Mang Board WP241,2494,7209k+Non-prefixed global variable
#127My Agile Privacy® – CMP, Cookie Consent & Privacy Tools241,1706747k+Text Domain Mismatch
#128Newsletter – Send awesome emails from WordPress248982,214200k+Non-prefixed global variable
#129PDF Generator for WordPress Elementor245132711k+Exception output is not escaped
#130PeproDev Ultimate Invoice243792344k+Output is not escaped
#131PixelYourSite – Your smart PIXEL (TAG) & API Manager241,1602,407500k+Non-prefixed namespace
#132Post Export Import with Media246191,3341k+Non-prefixed global variable
#133Product Catalog Simple241,5551,9821k+Output is not escaped
#134SiteOrigin Widgets Bundle24606455400k+Output is not escaped
#135GEO Plugin by Squirrly SEO241,19622430k+Missing Translators Comment
#136StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More24149482600Non-prefixed global variable
#137Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers243601,4721k+Nonce verification recommended
#138Tainacan241385921k+Direct Query
#139Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin249382,935200k+Non-prefixed global variable
#140Ultimate WP Mail24400546700Unsafe printing function
#141Unlimited Elements For Elementor247102,093300k+Non-prefixed global variable
#142UpdraftPlus: WP Backup & Migration Plugin242772993m+Non-prefixed global variable
#143WCMultiShipping — Mondial Relay, Inpost & Chronopost for WooCommerce247334995k+Output is not escaped
#144Yoast SEO – Advanced SEO with real-time guidance and built-in AI2415938610m+Non-prefixed global variable
#145WP Admin Audit241,0517811k+error log print r
#146WP Discourse241031141k+Nonce verification recommended
#147WP Helper Premium243,9081,5151k+Text Domain Mismatch
#148WP Layouts243491463k+Text Domain Mismatch
#149Export All Posts, Products, Orders & Users | WP Ultimate Exporter | WordPress CSV Export243631,1306k+Direct Query
#150WPeMatico RSS Feed Fetcher241,37858710k+Output is not escaped