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.

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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1BulletProof Security05,0484,94920k+2026-05-20Output Not Escaped
#2Plugin Check (PCP)012813210k+2026-05-29Exception Not Escaped
#3JetBackup – Backup, Restore & Migrate101,559145100k+2026-05-03Exception Not Escaped
#4wpForo Forum174,0332,92220k+2026-05-31Unsafe Printing Function
#5WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+2025-12-04Text Domain Mismatch
#6WP Import Export Lite1873897940k+2025-08-04Non Prefixed Variable Found
#7Download Monitor194251,36480k+2026-06-16Non Prefixed Hookname Found
#8Event Organiser191,10654420k+2024-10-10Text Domain Mismatch
#9Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+2026-06-09Exception Not Escaped
#10Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,909878100k+2026-06-16Exception Not Escaped
#11Search Atlas SEO – Premier SEO Plugin for One-Click WP Publishing & Integrated AI Optimization191,2952,6799k+2026-06-15Output Not Escaped
#12Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195413853m+2026-06-17Missing Translators Comment
#13Membership Plugin – Kadence Memberships195,0822,9829k+2026-05-26Text Domain Mismatch
#14BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot205081,40630k+2026-06-18Non Prefixed Variable Found
#15Brizy – Page Builder2058972070k+2026-06-09Output Not Escaped
#16GiveWP – Donation Plugin and Fundraising Platform203,4353,580100k+2026-06-15Output Not Escaped
#17Link Library201,9411,39710k+2026-04-26Unsafe Printing Function
#18Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+2026-04-15Non Prefixed Variable Found
#19Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20557541100k+2026-05-19Output Not Escaped
#20Razorpay for WooCommerce20974855100k+2026-06-19Non Prefixed Function Found
#21Backup Migration219811,09380k+2026-06-05Non Prefixed Variable Found
#22rtMedia for WordPress, BuddyPress and bbPress213636338k+2026-04-07Non Prefixed Constant Found
#23CartFlows – Funnel Builder & Checkout Plugin for WooCommerce21461614200k+2026-06-02Text Domain Mismatch
#24Smart Grid-Layout Design for Contact Form 7211,12673410k+2026-05-08Output Not Escaped
#25Comet Cache2185724520k+2025-07-02Output Not Escaped
#26Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+2026-05-22Output Not Escaped
#27Envo Extra2187860020k+2026-05-27Text Domain Mismatch
#28EventPrime – Events Calendar, Bookings and Tickets218724,2977k+2026-06-20Non Prefixed Variable Found
#29Feeds for YouTube (YouTube video, channel, and gallery plugin)21558978100k+2026-06-10Output Not Escaped
#30FileOrganizer – WordPress File Manager21536241200k+2026-06-10unlink unlink
#31Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More21521,959300k+2026-06-16Non Prefixed Variable Found
#32Modular DS: Monitor, update, and backup multiple websites211618140k+2026-05-22Exception Not Escaped
#33MotoPress Hotel Booking213,0611,03710k+2026-06-15Text Domain Mismatch
#34Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4693,33310k+2026-06-18Non Prefixed Variable Found
#35Packeta218023338k+2025-11-07Exception Not Escaped
#36Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction211,9185,06510k+2026-06-02Non Prefixed Hookname Found
#37User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor216961,48350k+2026-06-10Recommended
#38Five Star Restaurant Reservations – WordPress Booking Plugin211,0991,14710k+2026-06-19Output Not Escaped
#39Royal Addons for Elementor – Addons and Templates Kit for Elementor2113,0112,530600k+2026-06-08Text Domain Mismatch
#40Accept Stripe Payments2137388220k+2026-05-07Missing
#41Revive Social – Social Media Auto Post and Scheduling Automation Plugin2125542520k+2026-05-21Non Prefixed Hookname Found
#42WCFM – Frontend Manager for WooCommerce214,7215,06720k+2026-04-25Non Prefixed Variable Found
#43WebP Express21160427300k+2026-06-19Non Prefixed Variable Found
#44Paysera Payment Gateway for WooCommerce211,8661957k+2026-06-04Exception Not Escaped
#45Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools217863,39530k+2026-06-17Non Prefixed Variable Found
#46PPOM – Product Addons & Custom Fields for WooCommerce213361,32520k+2026-06-02Non Prefixed Variable Found
#47Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+2026-05-13Output Not Escaped
#48WP phpMyAdmin214,5286,43550k+2025-10-17Missing Arg Domain
#49wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin211,3541,14070k+2026-06-08Output Not Escaped
#50Ajax Load More – Infinite Scroll, Load More, & Lazy Load2264159540k+2026-06-04Unsafe Printing Function