[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fGi2XnngLLC_iTe_buzGAcLZX1j4uNoaFaTXJrqdKpsA":3},{"id":4,"url_slug":5,"title":6,"description":7,"plugin_slug":8,"theme_slug":9,"affected_versions":10,"patched_in_version":11,"severity":12,"cvss_score":13,"cvss_vector":14,"vuln_type":15,"published_date":16,"updated_date":17,"references":18,"days_to_patch":20,"patch_diff_files":21,"patch_trac_url":9,"research_status":27,"research_verified":28,"research_rounds_completed":29,"research_plan":30,"research_summary":31,"research_vulnerable_code":32,"research_fix_diff":33,"research_exploit_outline":34,"research_model_used":35,"research_started_at":36,"research_completed_at":37,"research_error":9,"poc_status":9,"poc_video_id":9,"poc_summary":9,"poc_steps":9,"poc_tested_at":9,"poc_wp_version":9,"poc_php_version":9,"poc_playwright_script":9,"poc_exploit_code":9,"poc_has_trace":28,"poc_model_used":9,"poc_verification_depth":9,"poc_exploit_code_gated":28,"source_links":38},"CVE-2026-40732","notification-for-telegram-unauthenticated-stored-cross-site-scripting","Notification for Telegram \u003C= 3.5 - Unauthenticated Stored Cross-Site Scripting","The Notification for Telegram plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","notification-for-telegram",null,"\u003C=3.5","3.5.1","high",7.2,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:C\u002FC:L\u002FI:L\u002FA:N","Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","2026-04-20 00:00:00","2026-04-30 14:47:43",[19],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002F5219ef67-7a99-49da-810b-bbfe7b649145?source=api-prod",11,[22,23,24,25,26],"include\u002Fnftb_optionpage.php","include\u002Ftnfunction.php","index.php","myjs.js","readme.txt","researched",false,3,"# Research Plan: CVE-2026-40732 - Notification for Telegram Unauthenticated Stored XSS\n\n## 1. Vulnerability Summary\nThe **Notification for Telegram** plugin (up to version 3.5) is vulnerable to unauthenticated stored cross-site scripting (XSS). The vulnerability stems from the plugin's failure to properly sanitize and escape user-supplied data collected during the WooCommerce checkout process and subsequently displayed in the WordPress administrative interface. Specifically, the `nftb_telegramnickname` field is saved via `update_post_meta` without sufficient sanitization to prevent attribute injection, and then echoed directly in the admin order details page without any output escaping.\n\n## 2. Attack Vector Analysis\n- **Endpoint:** WooCommerce Checkout (`POST \u002F?wc-ajax=checkout`)\n- **Vulnerable Parameter:** `nftb_telegramnickname`\n- **Authentication:** None (Unauthenticated)\n- **Preconditions:** \n    1. WooCommerce must be installed and active.\n    2. The plugin must be active. \n    3. (Optional for injection, required for visibility) The \"Telegram Nickname\" field is usually enabled via the `notify_woocomerce_checkoutfield` option, but the saving logic in `nftb_update_order_meta` runs on the `woocommerce_checkout_update_order_meta` hook regardless of the setting's state.\n\n## 3. Code Flow\n1. **Entry Point (Input):** During a WooCommerce checkout, the `nftb_update","The Notification for Telegram plugin for WordPress is vulnerable to unauthenticated stored cross-site scripting due to insufficient input sanitization and output escaping of the 'nftb_telegramnickname' field. Attackers can inject arbitrary web scripts during the WooCommerce checkout process, which are then executed in the context of an administrator viewing the order details.","\u002F\u002F include\u002Ftnfunction.php line 201\nfunction nftb_update_order_meta( $order_id ) {\n    if ( ! empty( $_POST['nftb_telegramnickname'] ) ) {\n        update_post_meta( $order_id, 'Telegram', sanitize_text_field( $_POST['nftb_telegramnickname'] ) );\n    }\n}\n\n---\n\n\u002F\u002F include\u002Ftnfunction.php line 212\nfunction nftb__field_display_admin_order_meta($order){\n\n$tlgruser = get_post_meta( $order->id, 'Telegram', true );\n if ( ! empty( $tlgruser ) ) {\n        echo '\u003Cp>\u003Cstrong>'.__('Telegram').':\u003C\u002Fstrong> \u003Ca href=\"https:\u002F\u002Ft.me\u002F'.$tlgruser.'\">' .$tlgruser  . '\u003C\u002Fa>\u003C\u002Fp>';\n    }\n}","--- include\u002Ftnfunction.php\n+++ include\u002Ftnfunction.php\n@@ -211,6 +211,6 @@\n function nftb__field_display_admin_order_meta($order){\n $tlgruser = get_post_meta( $order->id, 'Telegram', true );\n  if ( ! empty( $tlgruser ) ) {\n-        echo '\u003Cp>\u003Cstrong>'.__('Telegram').':\u003C\u002Fstrong> \u003Ca href=\"https:\u002F\u002Ft.me\u002F'.$tlgruser.'\">' .$tlgruser  . '\u003C\u002Fa>\u003C\u002Fp>';\n+        echo '\u003Cp>\u003Cstrong>' . esc_html__( 'Telegram', 'notification-for-telegram' ) . ':\u003C\u002Fstrong> \u003Ca href=\"' . esc_url( 'https:\u002F\u002Ft.me\u002F' . $tlgruser ) . '\">' . esc_html( $tlgruser ) . '\u003C\u002Fa>\u003C\u002Fp>';\n     }\n }","1. Access a site running WooCommerce and the Notification for Telegram plugin (\u003C= 3.5).\n2. Add an item to the cart and proceed to the checkout page.\n3. Locate the 'Telegram Nickname' field (parameter `nftb_telegramnickname`).\n4. Submit an order, providing a malicious payload in this field, such as: `\">\u003Cscript>alert(document.cookie)\u003C\u002Fscript>` or `\" onmouseover=\"alert(1)`.\n5. Wait for a site administrator to view the order details page in the WordPress dashboard (`\u002Fwp-admin\u002Fpost.php?post=[ORDER_ID]&action=edit`).\n6. The script will execute in the administrator's session because the plugin echoes the stored meta value directly into the HTML without escaping.","gemini-3-flash-preview","2026-05-04 19:36:48","2026-05-04 19:37:39",{"type":39,"vulnerable_version":40,"fixed_version":11,"vulnerable_browse":41,"vulnerable_zip":42,"fixed_browse":43,"fixed_zip":44,"all_tags":45},"plugin","3.5","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fnotification-for-telegram\u002Ftags\u002F3.5","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fnotification-for-telegram.3.5.zip","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fnotification-for-telegram\u002Ftags\u002F3.5.1","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fnotification-for-telegram.3.5.1.zip","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fnotification-for-telegram\u002Ftags"]