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
#1551Parallax Image80612k+Missing direct file access protection
#1552Wincher Rank Tracker80863k+Output is not escaped
#1553Metricool – Social media and site statistics829480k+Exception output is not escaped
#1554Wicked Block Conditions8266600Nonce verification recommended
#1555Upload SVG84381k+Non-prefixed global variable
#1556WP Notification Center84781k+Exception output is not escaped
#1557Pay with LINE Pay841210700Missing Translators Comment
#1558AntiSpam for Contact Form 78614810k+Text Domain Mismatch
#1559Text Typing – Block86353k+Missing nonce verification
#1560WP Dashboard Messages87911400Text Domain Mismatch
#1561ACF Dropzone88431k+Exception output is not escaped
#1562Responsive Slick Slider WordPress883131500Non-prefixed global variable
#1563Font Awesome89213400k+Missing direct file access protection
#1564Fr Multi Bank Transfer Payment Gateways for WooCommerce892822k+Text Domain Mismatch
#1565AI Powered Marketing898850k+Offloaded Content
#1566Flodesk for Elementor Pro9030800Exception output is not escaped
#1567Mobile Detect90413k+Exception output is not escaped
#1568Block Permissions9171400Non Singular String Literal Domain
#1569LH Multipart Email9145600Non-prefixed hook name
#1570reBusted!91736k+Missing direct file access protection
#1571Widgets for Social Photo Feed91114710k+Non-prefixed global variable
#1572Widgets for Social Post Feed911146400Non-prefixed global variable
#1573WP Mobile Detect91465k+trademarked term
#1574WP Session Manager915162k+Direct Query
#1575WP Mautic92356k+trademarked term