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í Bank17886553400Exception output is not escaped
#2wpForo Forum174,0482,92220k+Unsafe printing function
#3Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+Exception output is not escaped
#4Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output is not escaped
#5Mooberry Book Manager211,0403991k+Text Domain Mismatch
#6Content Egg – Affiliate Product Importer & Price Comparison231,3001,28710k+Non-prefixed global variable
#7Ezoic2344151910k+Output is not escaped
#8Locatoraid Store Locator233186451k+Non-prefixed global variable
#9MyWorks Sync for WooCommerce & QuickBooks Online232,2929,1015k+Non-prefixed global variable
#10Next Active Directory Integration236832842k+Exception output is not escaped
#11WHMCS Bridge232474724k+Nonce verification recommended
#12Appointment Booking Calendar253271,0551k+Non-prefixed global variable
#13Booking Calendar Contact Form25371884500Input is not validated
#14Contact Form Email254098989k+Non-prefixed global variable
#15CP Contact Form with PayPal25466936800Unsafe printing function
#16WPBruiser {no- Captcha anti-Spam}2564625910k+Non Singular String Literal Domain
#17Plover Kit – Blocks, Patterns, Responsive Layout and Gutenberg Editor Enhancements256881,3833k+Non-prefixed global variable
#18Iptanus File Upload255171,33710k+Non-prefixed function
#19WP Time Slots Booking Form254391,1371k+Non-prefixed global variable
#20Polls CP27399500400Output is not escaped
#21WPS Bidouille2847221510k+Output is not escaped
#22ActiveDEMAND321571611k+Output is not escaped
#23Brozzme DB Prefix & Tools Addons35244210k+Request data is not unslashed
#24Website Pop-up Builder by BDOW! (formerly Sumo): Pop-ups + forms for email opt-ins and lead generation37423310k+Output is not escaped
#25Simple LDAP Login3865331k+Output is not escaped
#26RSS Feed Retriever612387k+wp function not compatible with requires wp
#27Text Expander675015600wp function not compatible with requires wp