WordPress.WP.AlternativeFunctions.rand_seeding_mt_srand

rand seeding mt srand

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
#1Efí Bank17886553300Exception output is not escaped
#2wpForo Forum174,3063,02620k+Unsafe printing function
#3Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution181,229923100k+Exception output is not escaped
#4Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More202,8791,9791m+Non-prefixed global variable
#5Mooberry Book Manager211,0403991k+Text Domain Mismatch
#6Modula Image Gallery – Photo Grid & Video Gallery22507437100k+Text Domain Mismatch
#7Content Egg – Affiliate Product Importer & Price Comparison231,5561,56310k+Non-prefixed global variable
#8Locatoraid Store Locator233146531k+Non-prefixed global variable
#9MyWorks Sync for WooCommerce & QuickBooks Online232,2929,1015k+Non-prefixed global variable
#10Next Active Directory Integration236932852k+Exception output is not escaped
#11WHMCS Bridge232474724k+Nonce verification recommended
#12Ezoic2436438510k+Output is not escaped
#13Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More241941,073100k+Non-prefixed global variable
#14Appointment Booking Calendar253281,0491k+Non-prefixed global variable
#15Booking Calendar Contact Form25371888500Input is not validated
#16Contact Form Email254099028k+Non-prefixed global variable
#17CP Contact Form with PayPal25467941800Unsafe printing function
#18WPBruiser {no- Captcha anti-Spam}2564625910k+Non Singular String Literal Domain
#19Plover Kit – Blocks, Patterns, Responsive Layout and Gutenberg Editor Enhancements256611,3873k+Non-prefixed global variable
#20Iptanus File Upload255171,33710k+Non-prefixed function
#21WP Time Slots Booking Form254391,1421k+Non-prefixed global variable
#22Polls CP27399504400Output is not escaped
#23WPS Bidouille2947221410k+Output is not escaped
#24ActiveDEMAND321571611k+Output is not escaped
#25Brozzme DB Prefix & Tools Addons35244210k+Request data is not unslashed
#26Website Pop-up Builder by BDOW! (formerly Sumo): Pop-ups + forms for email opt-ins and lead generation37423310k+Output is not escaped
#27Simple LDAP Login3865331k+Output is not escaped
#28RSS Feed Retriever612387k+wp function not compatible with requires wp
#29Text Expander675015600wp function not compatible with requires wp