WordPress.Security.EscapeOutput.UnsafePrintingFunction
Unsafe printing function
A printing function is outputting dynamic content without proving that the content is escaped.
Why It Shows Up
The scan saw output through functions such as `printf`, `print`, or similar constructs where the printed values were not escaped for their context.
Why It Matters
Formatted output is still browser output. If any argument contains attacker-controlled content, the page can become vulnerable to cross-site scripting.
How to Fix
- Escape every dynamic argument with `esc_html()`, `esc_attr()`, `esc_url()`, or `wp_kses()` as appropriate.
- Keep translation wrappers and escaping wrappers in the correct order, such as `esc_html__( 'Text', 'text-domain' )` for translated text.
- Avoid marking values as safe unless they are hard-coded or already strictly constrained.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #2151 | Backend Designer | 41 | 50 | 11 | 1k+ | Output is not escaped | ||
| #2152 | Bop Search Box Item Type For Nav Menus | 41 | 52 | 14 | 1k+ | Output is not escaped | ||
| #2153 | BuddyPress Xprofile Custom Field Types | 41 | 39 | 189 | 4k+ | Missing nonce verification | ||
| #2154 | BuddyPress Edit Activity | 41 | 28 | 26 | 800 | Output is not escaped | ||
| #2155 | Bulk Delete Comments | 41 | 15 | 61 | 5k+ | Direct Query | ||
| #2156 | Bulk Images to Posts | 41 | 55 | 5 | 1k+ | Unsafe printing function | ||
| #2157 | Buzzsprout Podcasting | 41 | 75 | 13 | 5k+ | Non Singular String Literal Domain | ||
| #2158 | Easy Social Like Box – Popup – Sidebar Widget | 41 | 217 | 91 | 7k+ | Text Domain Mismatch | ||
| #2159 | Category Wise Search | 41 | 58 | 9 | 500 | Output is not escaped | ||
| #2160 | Conditional Fields for Contact Form 7 | 41 | 106 | 53 | 100k+ | Output is not escaped | ||
| #2161 | Submission DOM tracking for Contact Form 7 | 41 | 144 | 8 | 400 | Text Domain Mismatch | ||
| #2162 | clickskeks.at Cookiebanner | 41 | 21 | 18 | 500 | Unsafe printing function | ||
| #2163 | CloudGuard | 41 | 41 | 13 | 1k+ | Output is not escaped | ||
| #2164 | CoinPayments.net Payment Gateway for WooCommerce | 41 | 51 | 32 | 1k+ | Text Domain Mismatch | ||
| #2165 | Collapsed Archives | 41 | 54 | 4 | 1k+ | Output is not escaped | ||
| #2166 | Colorful Categories | 41 | 20 | 20 | 2k+ | Output is not escaped | ||
| #2167 | Comments Like Dislike | 41 | 172 | 20 | 5k+ | Non Singular String Literal Domain | ||
| #2168 | Contact Form 7 Widget | 41 | 70 | 4 | 2k+ | Output is not escaped | ||
| #2169 | Content Widget | 41 | 72 | 9 | 400 | Output is not escaped | ||
| #2170 | Cookie Notice & Consent | 41 | 101 | 29 | 1k+ | Output is not escaped | ||
| #2171 | CurrencyConverter | 41 | 629 | 6 | 700 | Non Singular String Literal Domain | ||
| #2172 | Custom Meta | 41 | 23 | 29 | 700 | Output is not escaped | ||
| #2173 | Custom Post Type Cleanup | 41 | 70 | 12 | 1k+ | Output is not escaped | ||
| #2174 | Custom Recent Posts Widget | 41 | 63 | 4 | 1k+ | Output is not escaped | ||
| #2175 | Dashboard Notepad | 41 | 29 | 34 | 10k+ | Missing nonce verification | ||
| #2176 | Database for CF7 | 41 | 37 | 32 | 2k+ | Text Domain Mismatch | ||
| #2177 | Developer Loggers for Simple History | 41 | 46 | 28 | 400 | Text Domain Mismatch | ||
| #2178 | DevVN Local Store | 41 | 84 | 28 | 1k+ | Unsafe printing function | ||
| #2179 | Disable Everything | 41 | 90 | 16 | 30k+ | Output is not escaped | ||
| #2180 | Disqus Conditional Load | 41 | 38 | 14 | 3k+ | Output is not escaped | ||
| #2181 | DigitalOcean Spaces Sync | 41 | 80 | 8 | 500 | Text Domain Mismatch | ||
| #2182 | Dropdown multisite selector | 41 | 82 | 13 | 900 | Unsafe printing function | ||
| #2183 | GDPR tools: Cookie notice + privacy | 41 | 67 | 8 | 6k+ | Unsafe printing function | ||
| #2184 | DSGVO Youtube | 41 | 48 | 29 | 1k+ | Unsafe printing function | ||
| #2185 | Duplicate Post Page Menu & Custom Post Type | 41 | 35 | 11 | 10k+ | Text Domain Mismatch | ||
| #2186 | Duplicate Page and Post | 41 | 26 | 21 | 80k+ | Unsafe printing function | ||
| #2187 | Easy Random Quotes | 41 | 42 | 14 | 500 | Output is not escaped | ||
| #2188 | Edit Lock | 41 | 47 | 22 | 500 | Non Singular String Literal Domain | ||
| #2189 | Email Address Encoder | 41 | 109 | 8 | 100k+ | wp function not compatible with requires wp | ||
| #2190 | Embed Chessboard | 41 | 103 | 9 | 600 | Text Domain Mismatch | ||
| #2191 | Essential Form – The lightest plugin for contact forms, ultra lightweight and no spam | 41 | 21 | 53 | 500 | Missing nonce verification | ||
| #2192 | Extra User Details | 41 | 84 | 15 | 1k+ | Non Singular String Literal Domain | ||
| #2193 | Heroic Favicon Generator | 41 | 104 | 7 | 6k+ | Output is not escaped | ||
| #2194 | Feature A Page Widget | 41 | 66 | 5 | 3k+ | Output is not escaped | ||
| #2195 | Featured Audio | 41 | 54 | 9 | 400 | Output is not escaped | ||
| #2196 | Flexible Posts Widget | 41 | 136 | 33 | 7k+ | Output is not escaped | ||
| #2197 | Gallery Lightbox | 41 | 47 | 16 | 10k+ | Output is not escaped | ||
| #2198 | Genesis Featured Page Advanced | 41 | 209 | 4 | 7k+ | Output is not escaped | ||
| #2199 | Genesis Footer Builder | 41 | 124 | 3 | 1k+ | Output is not escaped | ||
| #2200 | (Simply) Guest Author Name | 41 | 35 | 36 | 2k+ | Output is not escaped |