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.
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 |
|---|---|---|---|---|---|---|---|
| #1 | WP Import Export Lite | 18 | 738 | 979 | 40k+ | 2025-08-04 | Non Prefixed Variable Found |
| #2 | Matomo Analytics – Powerful, Privacy-First Insights for WordPress | 19 | 1,909 | 878 | 100k+ | 2026-06-16 | Exception Not Escaped |
| #3 | Backup Migration | 21 | 981 | 1,093 | 80k+ | 2026-06-05 | Non Prefixed Variable Found |
| #4 | Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More | 21 | 2,572 | 1,277 | 1m+ | 2026-05-22 | Output Not Escaped |
| #5 | Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More | 21 | 52 | 1,959 | 300k+ | 2026-06-16 | Non Prefixed Variable Found |
| #6 | Wordfence Security – Firewall, Malware Scan, and Login Security | 21 | 1,592 | 2,973 | 5m+ | 2026-05-13 | Output Not Escaped |
| #7 | WP phpMyAdmin | 21 | 4,528 | 6,435 | 50k+ | 2025-10-17 | Missing Arg Domain |
| #8 | wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin | 21 | 1,354 | 1,140 | 70k+ | 2026-06-08 | Output Not Escaped |
| #9 | Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots | 22 | 1,604 | 2,019 | 10k+ | 2026-06-10 | Direct Query |
| #10 | Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer | 22 | 2,858 | 1,270 | 50k+ | 2026-04-23 | Text Domain Mismatch |
| #11 | Download Manager | 22 | 2,290 | 1,301 | 100k+ | 2026-06-16 | Output Not Escaped |
| #12 | Gutenberg | 22 | 628 | 342 | 300k+ | 2026-06-17 | missing direct file access protection |
| #13 | InfiniteWP Client | 22 | 2,286 | 1,812 | 200k+ | 2026-02-26 | Exception Not Escaped |
| #14 | LearnPress – WordPress LMS Plugin for Create and Sell Online Courses | 22 | 2,361 | 3,384 | 70k+ | 2026-06-17 | Non Prefixed Variable Found |
| #15 | MailOptin – Popup, Optin Forms & Email Newsletters for Mailchimp, HubSpot, AWeber Etc. | 22 | 2,619 | 2,453 | 10k+ | 2026-06-19 | Output Not Escaped |
| #16 | Seraphinite Accelerator | 22 | 594 | 255 | 50k+ | 2026-06-19 | Output Not Escaped |
| #17 | 10Web Booster – Website speed optimization, Cache & Page Speed optimizer | 22 | 513 | 601 | 80k+ | 2026-05-27 | Non Prefixed Variable Found |
| #18 | Theme Editor | 22 | 798 | 685 | 50k+ | 2026-03-19 | Output Not Escaped |
| #19 | File Manager | 22 | 740 | 520 | 1m+ | 2026-04-21 | Unsafe Printing Function |
| #20 | Advanced Contact form 7 DB | 23 | 761 | 1,959 | 70k+ | 2026-04-20 | Non Prefixed Variable Found |
| #21 | Kadence Blocks — Page Builder Toolkit for Gutenberg Editor | 23 | 55 | 2,127 | 600k+ | 2026-06-11 | Non Prefixed Variable Found |
| #22 | MailPoet – Newsletters, Email Marketing, and Automation | 23 | 858 | 711 | 500k+ | 2026-06-17 | Exception Not Escaped |
| #23 | Media Library Assistant | 23 | 1,144 | 3,943 | 70k+ | 2026-06-08 | Recommended |
| #24 | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | 23 | 2,119 | 986 | 400k+ | 2026-05-27 | Text Domain Mismatch |
| #25 | Photo Gallery by 10Web – Mobile-Friendly Image Gallery | 23 | 4,159 | 1,553 | 100k+ | 2026-05-29 | Output Not Escaped |
| #26 | Slider by 10Web – Responsive Image Slider | 23 | 5,814 | 976 | 10k+ | 2024-12-26 | Output Not Escaped |
| #27 | SiteOrigin Widgets Bundle | 23 | 607 | 455 | 400k+ | 2026-05-19 | Output Not Escaped |
| #28 | Strong Testimonials | 23 | 192 | 393 | 90k+ | 2026-05-21 | Recommended |
| #29 | WP Editor | 23 | 502 | 335 | 20k+ | 2026-03-11 | Unsafe Printing Function |
| #30 | FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce | 23 | 1,125 | 2,153 | 20k+ | 2026-05-22 | missing direct file access protection |
| #31 | WP Migrate Lite – Migration Made Easy | 23 | 368 | 254 | 200k+ | 2026-06-02 | Exception Not Escaped |
| #32 | WP STAGING – WordPress Backup, Restore & Migration | 23 | 1,414 | 1,327 | 100k+ | 2026-05-22 | Non Prefixed Variable Found |
| #33 | A2 Optimized WP – Turbocharge and secure your WordPress site | 24 | 271 | 231 | 60k+ | 2025-02-10 | Missing Arg Domain |
| #34 | Ad Inserter – Ad Manager & AdSense Ads | 24 | 4,241 | 811 | 300k+ | 2026-05-30 | Output Not Escaped |
| #35 | Backuply – Backup, Restore, Migrate and Clone | 24 | 704 | 551 | 700k+ | 2026-05-27 | Non Prefixed Variable Found |
| #36 | Custom Twitter Feeds – A Tweets Widget or X Feed Widget | 24 | 446 | 922 | 100k+ | 2026-06-10 | Output Not Escaped |
| #37 | Customer Reviews for WooCommerce | 24 | 2,205 | 2,452 | 80k+ | 2026-06-15 | Output Not Escaped |
| #38 | Doubly – Cross Domain Copy Paste for WordPress | 24 | 252 | 55 | 10k+ | 2025-12-23 | Output Not Escaped |
| #39 | DSGVO All in one for WP | 24 | 75 | 1,637 | 20k+ | 2026-04-11 | Non Prefixed Variable Found |
| #40 | Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN | 24 | 3,410 | 866 | 70k+ | 2026-05-18 | Text Domain Mismatch |
| #41 | InstaWP Connect – 1-click WP Staging & Migration | 24 | 253 | 811 | 40k+ | 2026-06-17 | Non Prefixed Variable Found |
| #42 | Newsletter – Send awesome emails from WordPress | 24 | 894 | 2,212 | 200k+ | 2026-06-17 | Non Prefixed Variable Found |
| #43 | PixelYourSite – Your smart PIXEL (TAG) & API Manager | 24 | 1,160 | 2,407 | 500k+ | 2026-06-09 | Non Prefixed Namespace Found |
| #44 | SureForms – Drag & Drop Contact Form & Form Builder, Payment Form, Survey, Quiz & Calculator | 24 | 351 | 250 | 500k+ | 2026-06-18 | Text Domain Mismatch |
| #45 | Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin | 24 | 938 | 2,935 | 200k+ | 2026-06-12 | Non Prefixed Variable Found |
| #46 | Unlimited Elements For Elementor | 24 | 709 | 2,092 | 300k+ | 2026-05-14 | Non Prefixed Variable Found |
| #47 | UpdraftPlus: WP Backup & Migration Plugin | 24 | 277 | 299 | 3m+ | 2026-06-05 | Non Prefixed Variable Found |
| #48 | Yoast SEO – Advanced SEO with real-time guidance and built-in AI | 24 | 159 | 386 | 10m+ | 2026-06-10 | Non Prefixed Variable Found |
| #49 | SlimStat Analytics | 24 | 1,169 | 737 | 70k+ | 2026-05-13 | Exception Not Escaped |
| #50 | WPeMatico RSS Feed Fetcher | 24 | 1,376 | 582 | 10k+ | 2026-06-15 | Output Not Escaped |