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 |
|---|---|---|---|---|---|---|---|---|
| #2451 | ShayanWeb Admin FontChanger | افزونهی تغییر فونت پیشخوان وردپرس شایان وب | 45 | 42 | 8 | 1k+ | Output is not escaped | ||
| #2452 | Simple Login Notification | 45 | 13 | 22 | 2k+ | Request data is not unslashed | ||
| #2453 | Specify Missing Image Dimensions | 45 | 21 | 12 | 1k+ | Unsafe printing function | ||
| #2454 | WP Revisions Manager | 45 | 47 | 19 | 700 | Non Singular String Literal Domain | ||
| #2455 | ARI Stream Quiz – WordPress Quizzes Builder | 46 | 21 | 239 | 2k+ | Non-prefixed global variable | ||
| #2456 | Batch Comment Spam Deletion | 46 | 22 | 15 | 1k+ | Nonce verification recommended | ||
| #2457 | Delete Multiple Themes | 46 | 39 | 5 | 1k+ | Text Domain Mismatch | ||
| #2458 | DX Delete Attached Media | 46 | 32 | 8 | 4k+ | Output is not escaped | ||
| #2459 | Export Import Menus | 46 | 23 | 28 | 10k+ | Missing nonce verification | ||
| #2460 | Gravity Forms Constant Contact | 46 | 36 | 27 | 3k+ | Non-prefixed class | ||
| #2461 | Material Design Icons for Page Builders | 46 | 69 | 46 | 20k+ | Missing direct file access protection | ||
| #2462 | Pinterest Pinboard Widget | 46 | 54 | 4 | 500 | Output is not escaped | ||
| #2463 | Responsive Cookie Consent | 46 | 50 | 4 | 2k+ | Unsafe printing function | ||
| #2464 | TotalSurvey for Survey, Quiz and Form | 46 | 290 | 33 | 600 | Missing direct file access protection | ||
| #2465 | URL Params | 46 | 36 | 17 | 8k+ | Text Domain Mismatch | ||
| #2466 | SX User Name Security | 46 | 42 | 9 | 900 | Output is not escaped | ||
| #2467 | WP Lightbox 2 | 46 | 52 | 18 | 30k+ | Text Domain Mismatch | ||
| #2468 | Widget Disable | 46 | 19 | 19 | 10k+ | Output is not escaped | ||
| #2469 | WP All Import – Import SEO Settings for Yoast SEO | 46 | 19 | 26 | 20k+ | Nonce verification recommended | ||
| #2470 | Advanced Custom Fields: Number Slider | 47 | 99 | 4 | 400 | Output is not escaped | ||
| #2471 | Clear Cache for Me | 47 | 58 | 8 | 40k+ | Text Domain Mismatch | ||
| #2472 | Customizer Export/Import | 47 | 14 | 15 | 100k+ | Unsafe printing function | ||
| #2473 | Show IDs by Echo | 47 | 21 | 13 | 2k+ | Output is not escaped | ||
| #2474 | Extended CRM for Users Insights | 47 | 11 | 23 | 400 | Missing nonce verification | ||
| #2475 | FSM Custom Featured Image Caption | 47 | 26 | 27 | 5k+ | Output is not escaped | ||
| #2476 | G Meta Keywords | 47 | 31 | 8 | 10k+ | Unsafe printing function | ||
| #2477 | Granular Controls For Elementor | 47 | 56 | 4 | 10k+ | Output is not escaped | ||
| #2478 | Import Users from CSV | 47 | 33 | 12 | 10k+ | Unsafe printing function | ||
| #2479 | Showeblogin Social Plugin | 47 | 59 | 5 | 400 | Output is not escaped | ||
| #2480 | Simple Popup Plugin | 47 | 53 | 5 | 1k+ | Output is not escaped | ||
| #2481 | Social Media Widget | 47 | 51 | 3 | 400 | Output is not escaped | ||
| #2482 | SportsPress for Baseball | 47 | 113 | 34 | 900 | Text Domain Mismatch | ||
| #2483 | 3CX Free Live Chat, Calls & Messaging | 47 | 24 | 16 | 100k+ | Output is not escaped | ||
| #2484 | WP User Profile Restriction | 47 | 26 | 8 | 400 | Output is not escaped | ||
| #2485 | Add-on WooCommerce – MailPoet 3 | 48 | 30 | 21 | 600 | Output is not escaped | ||
| #2486 | Add Polylang support for Customizer | 48 | 18 | 20 | 2k+ | Nonce verification recommended | ||
| #2487 | Advanced Custom Fields – Location Field add-on | 48 | 51 | 6 | 900 | Output is not escaped | ||
| #2488 | AffiliateWP – Store Credit | 48 | 47 | 21 | 400 | Output is not escaped | ||
| #2489 | Better Block Patterns | 48 | 77 | 11 | 1k+ | Missing direct file access protection | ||
| #2490 | BP Simple Private | 48 | 19 | 12 | 500 | Output is not escaped | ||
| #2491 | bxSlider integration for WordPress | 48 | 126 | 21 | 500 | Text Domain Mismatch | ||
| #2492 | Contact Form 7 BWP reCAPTCHA Extension | 48 | 92 | 10 | 400 | Non Singular String Literal Domain | ||
| #2493 | CookieFox – Cookie Notice | 48 | 14 | 19 | 400 | Output is not escaped | ||
| #2494 | Custom Background Extended | 48 | 13 | 23 | 800 | Input is not validated | ||
| #2495 | Custom Header Extended | 48 | 19 | 11 | 1k+ | Unsafe printing function | ||
| #2496 | Custom Related Products for WooCommerce | 48 | 25 | 10 | 5k+ | Text Domain Mismatch | ||
| #2497 | Disable Author Pages | 48 | 23 | 5 | 6k+ | Unsafe printing function | ||
| #2498 | Filter Page by Template | 48 | 17 | 20 | 2k+ | Nonce verification recommended | ||
| #2499 | Fixed And Sticky Header | 48 | 31 | 7 | 1k+ | Output is not escaped | ||
| #2500 | Hotline Phone Ring | 48 | 16 | 15 | 8k+ | Output is not escaped |