WordPress.WP.AlternativeFunctions.file_system_operations_chmod
file system operations chmod
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 |
|---|---|---|---|---|---|---|---|---|
| #201 | DecaLog | 25 | 943 | 236 | 1k+ | Exception output is not escaped | ||
| #202 | Docket Cache – Object Cache Accelerator | 25 | 333 | 481 | 20k+ | Output is not escaped | ||
| #203 | Featured Image from URL (FIFU) | 25 | 2,030 | 1,009 | 70k+ | Non Singular String Literal Domain | ||
| #204 | Site Kit by Google – Analytics, Search Console, AdSense, Speed | 25 | 1,318 | 242 | 5m+ | Missing direct file access protection | ||
| #205 | Sitemap by BestWebSoft – WordPress XML Site Map Page Generator Plugin | 25 | 608 | 207 | 20k+ | Text Domain Mismatch | ||
| #206 | Infinite Uploads – Offload, Optimize & Organize Your Media Library | 25 | 584 | 713 | 800 | Text Domain Mismatch | ||
| #207 | Media Cloud Sync | 25 | 1,097 | 275 | 1k+ | Exception output is not escaped | ||
| #208 | Ocean Extra | 25 | 1,489 | 2,112 | 500k+ | Non-prefixed global variable | ||
| #209 | PDF Importer for WPForms | 25 | 332 | 331 | 400 | Non-prefixed global variable | ||
| #210 | PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin | 25 | 1,084 | 1,296 | 9k+ | Non-prefixed global variable | ||
| #211 | Piotnet Forms | 25 | 187 | 374 | 2k+ | Alternative PHP tag found | ||
| #212 | QuadMenu – Mega Menu | 25 | 2,128 | 455 | 10k+ | Output is not escaped | ||
| #213 | reSmush.it : The original free image compressor and optimizer plugin | 25 | 155 | 69 | 100k+ | Output is not escaped | ||
| #214 | Simply Static – The Static Site Generator | 25 | 189 | 535 | 30k+ | Non-prefixed hook name | ||
| #215 | Affiliate Program Suite — SliceWP Affiliates | 25 | 1,291 | 2,089 | 10k+ | Output is not escaped | ||
| #216 | TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder | 25 | 705 | 1,587 | 10k+ | Non-prefixed global variable | ||
| #217 | VikAppointments Services Booking Calendar | 25 | 9,759 | 5,209 | 500 | Output is not escaped | ||
| #218 | VikBooking Hotel Booking Engine & PMS | 25 | 13,251 | 8,316 | 8k+ | Output is not escaped | ||
| #219 | VikRentCar Car Rental Management System | 25 | 5,537 | 5,048 | 4k+ | Non-prefixed global variable | ||
| #220 | VikRentItems Flexible Rental Management System | 25 | 4,767 | 4,640 | 600 | Non-prefixed global variable | ||
| #221 | VikRestaurants Table Reservations and Take-Away | 25 | 11,644 | 4,932 | 600 | Output is not escaped | ||
| #222 | PDF Ink Lite – Free PDF Watermark & Password Protection | 25 | 207 | 595 | 2k+ | Non-prefixed global variable | ||
| #223 | PDF Builder for WooCommerce. Create invoices,packing slips and more | 25 | 372 | 506 | 2k+ | Non-prefixed global variable | ||
| #224 | WordPress Importer | 25 | 238 | 110 | 2m+ | Output is not escaped | ||
| #225 | Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF | 25 | 157 | 128 | 60k+ | Non-prefixed global variable | ||
| #226 | SlimStat Analytics | 25 | 1,177 | 870 | 70k+ | Exception output is not escaped | ||
| #227 | Smush – Image Optimization, Compression, Lazy Load, WebP & CDN | 25 | 244 | 569 | 1m+ | Non-prefixed hook name | ||
| #228 | WP Super Cache | 25 | 800 | 989 | 1m+ | Output is not escaped | ||
| #229 | WPvivid — Backup, Migration & Staging | 25 | 903 | 1,461 | 900k+ | Non-prefixed namespace | ||
| #230 | Backup, Restore and Migrate your sites with XCloner | 25 | 238 | 864 | 10k+ | Input is not sanitized | ||
| #231 | Database for Contact Form 7, WPforms, Elementor forms | 26 | 317 | 489 | 60k+ | Non-prefixed global variable | ||
| #232 | Cyrlitera – Transliteration of Links and File Names | 26 | 452 | 202 | 40k+ | Output is not escaped | ||
| #233 | Portfolio by BestWebSoft – Work and Projects Presentation Plugin for WordPress | 26 | 525 | 240 | 600 | Text Domain Mismatch | ||
| #234 | SP Move Login | 26 | 881 | 215 | 6k+ | Text Domain Mismatch | ||
| #235 | Attesa Extra | 27 | 315 | 151 | 1k+ | Output is not escaped | ||
| #236 | Login for Google Apps | 27 | 139 | 85 | 10k+ | Exception output is not escaped | ||
| #237 | Mihdan: Ajax Edit Comments | 27 | 1,300 | 523 | 400 | Text Domain Mismatch | ||
| #238 | Vertex Addons for Elementor | 28 | 232 | 413 | 400 | Output is not escaped | ||
| #239 | FAPI Member | 28 | 279 | 153 | 500 | Exception output is not escaped | ||
| #240 | Kama Thumbnail | 28 | 80 | 47 | 9k+ | Output is not escaped | ||
| #241 | Sparkle Demo Importer | 28 | 307 | 166 | 5k+ | Text Domain Mismatch | ||
| #242 | Ultimate Watermark – Image Watermark, Image Protection & Bulk Watermarking | 28 | 161 | 302 | 1k+ | Nonce verification recommended | ||
| #243 | AI Copilot – Content Generator | 29 | 80 | 322 | 1k+ | Direct Query | ||
| #244 | CloudSecure WP Security | 29 | 74 | 334 | 100k+ | Request data is not unslashed | ||
| #245 | DB Cache Reloaded Fix | 29 | 133 | 42 | 2k+ | Output is not escaped | ||
| #246 | Di Themes Demo Site Importer | 29 | 343 | 183 | 1k+ | Text Domain Mismatch | ||
| #247 | Event Tickets Manager for WooCommerce | 29 | 182 | 657 | 1k+ | Non-prefixed global variable | ||
| #248 | Easy HTTPS Redirection (SSL) | 29 | 266 | 152 | 100k+ | Unsafe printing function | ||
| #249 | Kits, Templates and Patterns | 29 | 380 | 91 | 4k+ | Text Domain Mismatch | ||
| #250 | SheetsPilot – AI Spreadsheet Bulk Edit for Posts, WooCommerce Products & SEO | 29 | 80 | 55 | 400 | unlink unlink |