WordPress.WP.AlternativeFunctions.rand_rand

rand rand

The plugin uses a random function that may not be appropriate for the task.

medium weight

Why It Shows Up

The scan found functions such as `rand()`, `mt_rand()`, `srand()`, or `mt_srand()`.

Why It Matters

General random functions are not suitable for security-sensitive tokens and manual seeding can reduce randomness.

How to Fix

  • Use `wp_rand()` for ordinary WordPress randomness.
  • Use PHP cryptographic randomness for security-sensitive tokens.
  • Avoid manual random seeding unless there is a narrow, documented reason.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#201Image Optimizer, Resizer and CDN – Sirv236161,0041k+Output is not escaped
#202Site Reviews231,62660460k+Output is not escaped
#203Slider Hero with Video Background, Animation231,5651,2533k+Text Domain Mismatch
#204Slider by 10Web – Responsive Image Slider235,81497610k+Output is not escaped
#205Smart Marketing SMS and Newsletters Forms232,2321,0151k+Text Domain Mismatch
#206Smart Slider 323261268800k+Non-prefixed global variable
#207SportsPress – Sports Club & League Manager234592,24610k+Non-prefixed global variable
#208StreamWeasels Twitch Integration235551,4651k+Non-prefixed global variable
#209teachPress237441,5872k+SQL query is not prepared
#210Legal Terms and Conditions Popup for User Login and WooCommerce Checkout23524237700Output is not escaped
#211The Events Calendar233,5093,850700k+Text Domain Mismatch
#212Directory Listings WordPress plugin – uListing239471,5731k+Non-prefixed global variable
#213UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP236942,43920k+Non-prefixed hook name
#214Product Table & List Builder For WooCommerce231,3622,06010k+Non-prefixed global variable
#215Advanced Booking & Appointment System – Webba Booking Calendar231,6183,3782k+Non-prefixed global variable
#216WHMCS Bridge232474724k+Nonce verification recommended
#217Billingo Plus integráció WooCommerce-hez231,119507900Text Domain Mismatch
#218PostFinance Checkout239792141k+Text Domain Mismatch
#219Predictive Search for WooCommerce23514633700Output is not escaped
#220WP BackItUp Community Edition232579896k+Non-prefixed global variable
#221Clone2324426240k+Output is not escaped
#222WP-CRM System – Manage Clients and Projects232971,094800Non-prefixed global variable
#223WP Free SSL237351,3451k+Non-prefixed global variable
#224Stripe Payment Forms by WP Full Pay – Accept Credit Card Payments, Donations & Subscriptions231,1131,8629k+Output is not escaped
#225WP Hotelier236931,6352k+Non-prefixed global variable
#226Lead Form Data Collection to CRM232111,698400Non-prefixed global variable
#227WP-Lister Lite for Amazon233,0614,177800Output is not escaped
#228WP Mega Menu239927928k+Non-prefixed global variable
#229Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning231,11820240k+Missing Translators Comment
#230WP STAGING – WordPress Backup, Restore, Migration & Clone231,5041,567100k+Non-prefixed global variable
#231Subscribe Forms – Beautiful Email Forms, Embedded Newsletter Forms & MailChimp Form234195422k+Non-prefixed global variable
#232Dynamic Team Manager – Team Member Showcase with grid, slider, table Elementor widget & shortcode239072,014900Non-prefixed global variable
#233Customer Support Ticket System & Helpdesk231,7191,464400Text Domain Mismatch
#234WP Ultimate CSV Importer – WordPress Import & Export for CSV, XML & Excel231,1583,64220k+Interpolated SQL is not prepared
#235WP Webhooks – Automate repetitive tasks by creating powerful automation workflows directly within WordPress234,37689020k+Output is not escaped
#236WPCal.io – Easy Meeting Scheduler23694595900Direct Query
#237Photo Engine (Media Organizer & Lightroom)232526502k+Direct Query
#238Zephyr Project Manager236672,4541k+Non-prefixed global variable
#239A2 Optimized WP – Turbocharge and secure your WordPress site2427123160k+Missing Arg Domain
#240Anti Spam and list cleaner – AcyChecker2446288400Output is not escaped
#241AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress245,2341,4647k+Output is not escaped
#242Ad Inserter – Ad Manager & AdSense Ads244,260812300k+Output is not escaped
#243Advanced Contact form 7 DB247641,96070k+Non-prefixed global variable
#244Advanced iFrame248871,12040k+Non-prefixed global variable
#245All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#246Backuply – Backup, Restore, Migrate and Clone24704551700k+Non-prefixed global variable
#247Barcode Scanner (+Mobile App) – Inventory manager, Order fulfillment system, POS (Point of Sale)241,8651,0891k+Text Domain Mismatch
#248Product Feed Manager For WooCommerce – Sell on 200+ Online Marketplaces242,3173,37510k+slow db query meta key
#249Blog Designer Pack – Blog, Post Grid, Post Slider, Post Carousel, Category Post, News246991,69330k+Non-prefixed global variable
#250Branda – White Label & Branding, Free Login Page Customizer243,17482020k+Text Domain Mismatch