WordPress.Security.ValidatedSanitizedInput.MissingUnslash

Request data is not unslashed

Input from a WordPress request superglobal is used before removing WordPress-added slashes.

critical weight

Why It Shows Up

WordPress adds slashes to request data for historical compatibility. The scan found `$_GET`, `$_POST`, `$_REQUEST`, or similar input used without `wp_unslash()`.

Why It Matters

Sanitizing slashed data can produce incorrect values, failed comparisons, broken validation, or stored data that does not match what the user submitted.

How to Fix

  • Read the specific request key, then call `wp_unslash()` on it.
  • Sanitize the unslashed value with a function that matches the expected data type.
  • Validate the sanitized value before using it in permissions, queries, redirects, or stored settings.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#5101Honeypot Plus for Contact Form 777317700Missing nonce verification
#5102Color Your Bar77510400Input is not sanitized
#5103CodeKit – Custom Codes Editor7711295k+Non-prefixed global variable
#5104Custom Fonts – Host Your Fonts Locally771420400k+Request data is not unslashed
#5105Custom HTML Block Extension778137k+Missing direct file access protection
#5106Disable WP Registration Page Spam775121k+Nonce verification recommended
#5107Ecomail777131k+Non-prefixed global variable
#5108ELEX Hide WooCommerce Shipping Methods7783541k+Text Domain Mismatch
#5109eSewa – Nepal First Payment Gateway77489600Text Domain Mismatch
#5110RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator773728240k+Non-prefixed global variable
#5111WP-FormAssembly774152k+Nonce verification recommended
#5112Ilmenite Cookie Consent776112k+Setting is missing a sanitization callback
#5113Internet Archive Wayback Machine Link Fixer772221k+Database parameter is not escaped
#5114Photo & Video Gallery – Image, Video & Portfolio774101k+Missing Version
#5115SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema775895300k+Non-prefixed hook name
#5116Table Of Contents Block7715810k+wp function not compatible with requires wp
#5117Template Kit – Import774160400k+Non-prefixed global variable
#5118Toggle wpautop774159k+trademarked term
#5119Unattach77411900Nonce verification recommended
#5120UsageDD77831k+Output is not escaped
#5121Username7758700Deprecated function: screen_icon
#5122Widget Classes77571k+Missing nonce verification
#5123Album Photostream Flickr Gallery7730311k+Text Domain Mismatch
#5124Lorem Ipsum Generator7779500Missing direct file access protection
#5125WP Night Mode77811700Non-prefixed function
#5126WP Upload Size776142k+Non-prefixed function
#5127ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin787340700Missing Arg Domain
#5128Instant AI Image Generator – Create & Import Images78231k+Non-prefixed constant
#5129Animated Text Block – Add Typing and Looping Text Effects785254k+Non-prefixed class
#5130Biteship Shipping782516500wp function not compatible with requires wp
#5131Boei – AI Chatbot, Live Chat & 50+ Channels for WordPress78941k+Output is not escaped
#5132Booking System Trafft78319400Nonce verification recommended
#5133Bookvault781310700Nonce verification recommended
#5134Date Picker For Contact Form 778384k+Missing nonce verification
#5135Forget About Shortcode Buttons78112520k+Missing direct file access protection
#5136Interact: Embed A Quiz On Your Site786133k+Request data is not unslashed
#5137Layouts for Elementor78271k+Non-prefixed global variable
#5138Layouts for WPBakery78283k+Non-prefixed global variable
#5139LH HSTS78312600Input is not sanitized
#5140Album Gallery for Photo & Video78784k+wp function not compatible with requires wp
#5141One Time Login787840k+Nonce verification recommended
#5142PatternsWP – Gutenberg Block Patterns & Page Templates Library78125500Non-prefixed constant
#5143Post Order By Category78112900Missing nonce verification
#5144PRENA – Product Pre-Orders for WooCommerce786292k+Request data is not unslashed
#5145Rename XMLRPC78731k+Output is not escaped
#5146Resend Welcome Email78591k+Nonce verification recommended
#5147RSS Includes Pages784810k+Output is not escaped
#5148Run SQL Query78138600Non-prefixed global variable
#5149Animator – Scroll Triggered Animations7816241k+Missing direct file access protection
#5150SearchWP Live Ajax Search7882350k+Non-prefixed global variable