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
#5301JWT Authentication for WP REST API84274160k+wp function not compatible with requires wp
#5302Mailster reCaptcha844151k+Missing nonce verification
#5303PW WooCommerce Exclude Free Shipping841121k+Missing nonce verification
#5304Replace Image845138k+Input is not sanitized
#5305Search by ID8435700Input is not sanitized
#5306Upload SVG84381k+Non-prefixed global variable
#5307UTMs Carry Pages84411400Non-prefixed global variable
#5308Web Stories84126360k+Non-prefixed global variable
#5309Widgets for Google Reviews and Ratings842102k+Missing nonce verification
#5310WP Force Lowercase URLs84296k+trademarked term
#5311WP Link Preview8449500trademarked term
#5312WP PDF Generator8421221k+Request data is not unslashed
#5313ACF Nav Menu Field851662k+Text Domain Mismatch
#5314Advanced Post Manager8511184k+Request data is not unslashed
#5315Backlinks Saver85353k+Deprecated parameter value found
#5316Better Business Reviews – Trustpilot WordPress Plugin85473k+Output is not escaped
#5317Popups – Submission Messages For Contact Form 785273k+Input is not sanitized
#5318Custom Classes85582k+Request data is not unslashed
#5319Easy UTM Tracking with Contact Form 7853102k+Input is not validated
#5320FontFlow Custom Icons for Elementor852915700Text Domain Mismatch
#5321reCaptcha Add-On for FormCraft854167k+Missing Version
#5322HSTS Ready853113k+Input is not validated
#5323Jotform – AI Chatbot8585k+Input is not validated
#5324Marquee Running Text851175k+Missing direct file access protection
#5325MD5 Media Renamer85819400Non-prefixed global variable
#5326PlayerJS – Free Custom HTML5 Video and Audio Player Builder851131k+Missing Version
#5327Remove Footer Credit8573170k+Non-prefixed global variable
#5328Static 40485173k+Input is not sanitized
#5329StoreOne Extension85687400Text Domain Mismatch
#5330TinyMCE Color Picker85271k+Input is not sanitized
#5331Export Orders for WooCommerce – CSV, Excel, XML, JSON & PDF Export85249400wp function not compatible with requires wp
#5332WP Revisions Control859640k+wp function not compatible with requires wp
#5333Astra Widgets861015200k+Missing direct file access protection
#5334Classic Editor +861440k+Input is not sanitized
#5335Greenshift Smart Code AI86991k+Request data is not unslashed
#5336Modern Cart – WooCommerce Side Cart & Popup Cart8689550k+Non-prefixed global variable
#5337Nice page transition864121k+Direct Query
#5338Payment Gateway Icons For WooCommerce86241k+Input is not sanitized
#5339Sharespine Woocommerce Connector86216500error log error log
#5340Subtitles86493k+Non-prefixed hook name
#5341Title Remover867570k+wp function not compatible with requires wp
#5342Variation Swatches for WooCommerce – Color, Image & Size Swatches86217200k+Request data is not unslashed
#5343Delete product images for WooCommerce863131k+Direct Query
#5344PayPal Enterprise Payments (formerly Braintree) for WooCommerce8633310k+Direct Query
#5345WordClever – AI Content Writer86423k+Missing direct file access protection
#5346WP Consent API86210200k+Input is not sanitized
#5347WP101 Video Tutorial Plugin86151810k+Missing direct file access protection
#5348Advanced Image Comparison for Elementor87151k+Nonce verification recommended
#5349Author Filters87271k+Nonce verification recommended
#5350SmartText Rotator – Add Motion to Your Words878861k+Text Domain Mismatch