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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#3451Publish To Apple News9088225k+Text Domain Mismatch
#3452Relevanssi Live Ajax Search904226k+Non Prefixed Variable Found
#3453Simple Chat Button901440k+Missing Unslash
#3454Astra Bulk Edit914330k+missing direct file access protection
#3455Icon List Block – Add Icon-Based Lists with Custom Styles91374k+Not In Footer
#3456Ollie Menu Designer91433k+Non Prefixed Variable Found
#3457Pantheon Advanced Page Cache9110610k+Missing Unslash
#3458Responsive Tabs915994k+Non Singular String Literal Domain
#3459WebAuthn Provider for Two Factor916141k+Missing Arg Domain
#3460Unveil Lazy Load91262k+error log error log
#3461Ads.txt Manager9244100k+missing direct file access protection
#3462Daisy Titles — Style & Hide Page and Post Titles92153k+Input Not Sanitized
#3463External Permalinks Redux92982k+Non Prefixed Hookname Found
#3464Fluent Forms Block924182k+Non Prefixed Variable Found
#3465Clear Autoptimize Cache Automatically93394k+Missing Unslash
#3466Disable Blog9322220k+Non Prefixed Variable Found
#3467Image Carousel Module for Divi9313139k+Text Domain Mismatch
#3468Version Info – Server Health Monitor, PHP & MySQL Version Display, Environment Indicators931310k+Missing Unslash
#3469Gravity Forms Zero Spam9449100k+trademarked term
#3470Blocks Animation: CSS Animations for Gutenberg Blocks9511490k+Non Prefixed Variable Found