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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1001CLP Varnish Cache46155810k+Non-prefixed global variable
#1002Cashfree for WooCommerce4721218k+Nonce verification recommended
#1003QuadLayers TikTok Feed4778527k+Text Domain Mismatch
#1004AnWP Post Grid and Post Carousel Slider for Elementor4875817120k+Text Domain Mismatch
#1005Instamojo for WooCommerce4872445k+Text Domain Mismatch
#1006ACF Quick Edit Fields49207230k+Nonce verification recommended
#1007Jetpack Social4981223930k+Text Domain Mismatch
#1008Custom Block Builder – Lazy Blocks50235120k+Non-prefixed hook name
#1009WP SVG Images50581230k+Text Domain Mismatch
#1010SePay Gateway5112392k+Nonce verification recommended
#1011The Paste51191110k+Unsafe printing function
#1012GSheetConnector for Gravity Forms – Send Gravity Forms Entries to Google Sheets in Real-Time5226271k+Exception output is not escaped
#1013Automattic For Agencies Client5324918420k+Text Domain Mismatch
#1014FakerPress536615210k+Non-prefixed global variable
#1015LuckyWP ACF Menu Field534695k+Short PHP open tag found
#1016Pinterest for WooCommerce534430300k+Exception output is not escaped
#1017Weight Based Shipping for WooCommerce53484160k+Missing direct file access protection
#1018WP Console – WordPress PHP Console powered by PsySH53344820k+Exception output is not escaped
#1019CSV Importer5424113k+Missing direct file access protection
#1020Cyr-To-Lat541648300k+Dynamic hook name
#1021Disqus Comment System54173340k+Non-prefixed hook name
#1022AI Agent by SiteGround542861m+Exception output is not escaped
#1023SimplyBook.me – Booking and reservations calendar54311330k+Exception output is not escaped
#1024WP Menu Icons54685220k+Text Domain Mismatch
#1025FluentSnippets – The High-Performance file based Custom Code Snippets Plugin55322740k+Nonce verification recommended
#1026Quick Bulk Post & Page Creator554312k+Text Domain Mismatch
#1027Themeflection Numbers – Number Counter and Animated Numbers55224733k+Text Domain Mismatch
#1028AI Copilot – ChatGPT Chatbot & AI Engine for Post Automation5665201k+Text Domain Mismatch
#1029Grids: Layout builder for WordPress5624272k+Missing direct file access protection
#1030Hide Admin Notices5791620k+Input is not sanitized
#1031Search Exclude57734050k+Text Domain Mismatch
#1032Social Chat – Click To Chat App Button578144200k+Text Domain Mismatch
#1033Debloat – Remove Unused CSS, Optimize JS58242030k+Nonce verification recommended
#1034Super Progressive Web Apps59622240k+wp function not compatible with requires wp
#1035WooReer594441k+Exception output is not escaped
#1036Variation Swatches for WooCommerce591164300k+Non-prefixed global variable
#1037Disable Emails60251630k+Short PHP open tag found
#1038GetPaid Stripe Payments61206442k+Text Domain Mismatch
#1039RSS Feed Retriever612387k+wp function not compatible with requires wp
#1040Satispay for WooCommerce6219127k+Exception output is not escaped
#1041MultiSafepay plugin for WooCommerce6413352k+Missing nonce verification
#1042Royal MCP – Secure AI Connector for Claude, ChatGPT & Gemini646325k+Interpolated SQL is not prepared
#1043WP Search with Algolia6433127k+Missing direct file access protection
#1044AI Provider for Google6532120k+Exception output is not escaped
#1045USPS Simple Shipping for Woocommerce6520118k+Exception output is not escaped
#1046Ajaxify Comments – Ajax and Lazy Loading Comments6520383k+Non-prefixed hook name
#1047Easy PHP Settings6634482k+Missing Translators Comment
#1048Flexible Product Fields (WooCommerce Product Addons) – WooCommerce Product Page Editor66599810k+Non-prefixed global variable
#1049Icon Widget661494k+Output is not escaped
#1050Ajax add to cart for WooCommerce66673110k+Text Domain Mismatch