WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_phpinfo

prevent path disclosure phpinfo

Development or debugging behavior appears in code that may run in production.

medium weight

Why It Shows Up

The scan found logging, debugging, path disclosure, `phpinfo()`, error-reporting changes, or similar development-oriented functions.

Why It Matters

Debug output can leak paths, configuration, request data, stack details, or sensitive runtime information.

How to Fix

  • Remove temporary debugging calls before release.
  • If logging is required, guard it with `WP_DEBUG` or a plugin setting intended for administrators.
  • Never show debug details to unauthenticated visitors or normal front-end users.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Intercom060716k+Non-prefixed function
#3Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#4WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#5Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#6Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#7Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output is not escaped
#8URL Shortify – Simple and Easy URL Shortener211,5112,66910k+Non-prefixed global variable
#9Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output is not escaped
#10WP-Lister Lite for eBay216,6975,1292k+Output is not escaped
#11WP phpMyAdmin214,5286,43550k+Missing Arg Domain
#12Diverse Solutions IDX Real Estate Listings & MLS Search227456051k+Heredoc Output Not Escaped
#13E2Pdf – Export Pdf Tool for WordPress221,08184710k+Unsafe printing function
#14Newsletters222,9762,2572k+Text Domain Mismatch
#15NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall221,2722,063100k+Non-prefixed global variable
#16Packeta228013338k+Exception output is not escaped
#17Stylish Price List – Price Table Builder & QR Code Restaurant Menu226746783k+Output is not escaped
#18Unlimited Elements Blocks Library227081,822400Non-prefixed global variable
#19Search & Replace Everything – Quick and Easy Way to Find and Replace Text, Links221,0441,79720k+Non-prefixed global variable
#20WP Umbrella: Security Backup Restore & Monitoring2297099980k+Exception output is not escaped
#21WP-WebAuthn229573962k+Exception output is not escaped
#22YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports2265443510k+Exception output is not escaped
#23Ecwid by Lightspeed Ecommerce Shopping Cart2333930720k+Missing direct file access protection
#24InfiniteWP Client232,2871,811200k+Exception output is not escaped
#25Joli FAQ SEO – WordPress FAQ Plugin231,0831,526700Non-prefixed global variable
#26Justified Gallery235891,4178k+Non-prefixed global variable
#27Unlimited Elements For Elementor237112,101300k+Non-prefixed global variable
#28ManageWP Worker235065651m+Non-prefixed class
#29WP-Lister Lite for Amazon233,0614,177800Output is not escaped
#30Builderall for WordPress244,7781,3071k+Text Domain Mismatch
#31CM Pop-Up – Create engaging popups to capture attention and boost interaction244664088k+Output is not escaped
#32Etsy Integration For WooCommerce241,2464,643900Non-prefixed global variable
#33Joli Table Of Contents246531,7557k+Non-prefixed global variable
#34WPeMatico RSS Feed Fetcher241,37858710k+Output is not escaped
#35XT Ajax Add To Cart for WooCommerce249851,6651k+Non-prefixed global variable
#36XT Variation Swatches for WooCommerce241,0331,809500Non-prefixed global variable
#37Beaver Builder Page Builder – Drag and Drop Website Builder254,4631,819100k+Text Domain Mismatch
#38Online Scheduling and Appointment Booking System – Bookly251,09590060k+SQL query is not prepared
#39DecaLog259432361k+Exception output is not escaped
#40ELEX WooCommerce Dynamic Pricing and Discounts25478748800Text Domain Mismatch
#41Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel258761,798100k+Non-prefixed global variable
#42Hardcore Google Fonts Localizer25331261800Text Domain Mismatch
#43Index WP MySQL For Speed2525025550k+Output is not escaped
#44phpinfo() WP – Site Health, PHP Compatibility & Server Audit259097223k+Non-prefixed global variable
#45Stylish Cost Calculator – Quote Generator, Lead Gen & Price Estimator256481,0211k+Output is not escaped
#46XT Floating Cart for WooCommerce251,2321,9854k+Non-prefixed global variable
#47XT Quick View for WooCommerce251,0621,798400Non-prefixed global variable
#48Kadence Central – Site Management, Backups, Security, and Reporting2646221330k+Text Domain Mismatch
#49Amazon Product in a Post Plugin27362416800Output is not escaped
#50Custom Scrollbar271841912k+Output is not escaped