WordPress.Security.EscapeOutput.ExceptionNotEscaped

Exception output is not escaped

An exception message or related exception value is printed without escaping.

critical weight

Why It Shows Up

The scan found exception data being displayed directly in HTML output.

Why It Matters

Exception messages can include file paths, request values, remote API responses, or database details. Printing them raw can expose information or create XSS risk.

How to Fix

  • Use `esc_html()` or another context-appropriate escaping function before displaying exception text.
  • Show a generic user-facing message and log the detailed exception for administrators or developers.
  • Do not print stack traces, paths, or raw remote responses on public pages.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1051Ajax add to cart for WooCommerce66673110k+Text Domain Mismatch
#1052WordPress.com Editing Toolkit6752901k+Missing direct file access protection
#1053wp-Typography67913320k+Missing direct file access protection
#1054Solid Mail – SMTP email and logging made by SolidWP68161760k+Database parameter is not escaped
#1055WP Wand – Unlimited Content Generation using AI – for OpenAI, Claude, Openrouter and Deepseek69452251k+Text Domain Mismatch
#1056In-feed ads for Google AdSense7020207k+Non-prefixed global variable
#1057WPGraphQL Smart Cache708897k+Text Domain Mismatch
#1058WindPress – Tailwind CSS integration for WordPress71161063k+Non-prefixed hook name
#1059Direct Checkout for WooCommerce71783580k+Text Domain Mismatch
#1060SmartSMTP727372k+Nonce verification recommended
#1061Export Media Library735530k+Output is not escaped
#1062Comment Edit Core – Simple Comment Editing7327852k+Non-prefixed hook name
#1063Change Storefront Footer Copyright Text7372214k+Text Domain Mismatch
#1064Conditional Logic Emails, Fields, Redirect for Elementor Forms75312312k+wp function not compatible with requires wp
#1065Starter Templates & Sites Pack by ThemeGrill75215070k+Non-prefixed hook name
#1066AI Provider for OpenAI7615120k+Exception output is not escaped
#1067Autocomplete WooCommerce Orders76705530k+Text Domain Mismatch
#1068Bit Flows: AI Agent Automation & Integrations for Forms, CRM, eCommerce, Google Sheets, and More7718202k+wp function not compatible with requires wp
#1069Lead Generation Contact Widget & AI Chatbot: Chat Button, Phone Call, Telegram, Email – SiteLeads7717110k+Exception output is not escaped
#1070AI Provider for Anthropic7813120k+Exception output is not escaped
#1071Web3 Crypto Payments by DePay for WooCommerce7861011k+Direct Query
#1072Remove noreferrer7917145k+Missing Arg Domain
#1073Fluent PDF Generator80102620k+Text Domain Mismatch
#1074Parallax Image80612k+Missing direct file access protection
#1075SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers804565200k+Non-prefixed hook name
#1076Wincher Rank Tracker80863k+Output is not escaped
#1077Metricool – Social media and site statistics829480k+Exception output is not escaped
#1078Upload SVG84381k+Non-prefixed global variable
#1079FormGent – Next-Gen AI Form Builder for WordPress with Multi-Step, Quizzes, Payments & More85113151k+Non-prefixed global variable
#1080AntiSpam for Contact Form 78614810k+Text Domain Mismatch
#1081ACF Dropzone88431k+Exception output is not escaped
#1082Font Awesome89213400k+Missing direct file access protection
#1083Fr Multi Bank Transfer Payment Gateways for WooCommerce892822k+Text Domain Mismatch
#1084AI Powered Marketing898850k+Offloaded Content
#1085Mobile Detect90413k+Exception output is not escaped
#1086reBusted!91736k+Missing direct file access protection
#1087Widgets for Social Photo Feed91114710k+Non-prefixed global variable
#1088WP Mobile Detect91465k+trademarked term
#1089WP Session Manager915162k+Direct Query
#1090WP Mautic92356k+trademarked term