[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$ffW9blJw_QWTEQePwK66m0KUcgmgJEEvCIXO_gHgLp_U":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":26,"research_verified":27,"research_rounds_completed":28,"research_plan":29,"research_summary":30,"research_vulnerable_code":31,"research_fix_diff":32,"research_exploit_outline":33,"research_model_used":34,"research_started_at":35,"research_completed_at":36,"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":27,"poc_model_used":9,"poc_verification_depth":9,"poc_exploit_code_gated":27,"source_links":37},"CVE-2026-6495","ajax-load-more-infinite-scroll-load-more-lazy-load-unauthenticated-stored-cross-site-scripting","Ajax Load More – Infinite Scroll, Load More, & Lazy Load \u003C 7.8.4 - Unauthenticated Stored Cross-Site Scripting","The Ajax Load More – Infinite Scroll, Load More, & Lazy Load plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to 7.8.4 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.","ajax-load-more",null,"\u003C7.8.4","7.8.4","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-06-11 00:00:00","2026-06-15 19:19:52",[19],"https:\u002F\u002Fwww.wordfence.com\u002Fthreat-intel\u002Fvulnerabilities\u002Fid\u002F1baa699e-b071-490c-b932-2dea603165e1?source=api-prod",5,[22,23,24,25],"README.txt","ajax-load-more.php","core\u002Fclasses\u002Fclass-alm-preview.php","lang\u002Fajax-load-more.pot","researched",false,3,"# Exploitation Research Plan: CVE-2026-6495 (Ajax Load More Stored XSS)\n\n## 1. Vulnerability Summary\nThe **Ajax Load More** plugin (versions \u003C 7.8.4) is vulnerable to **Unauthenticated Stored Cross-Site Scripting (XSS)**. The vulnerability exists because the plugin's AJAX handler for loading posts (`alm_get_posts`) accepts query and display parameters from unauthenticated users and, when the \"Cache\" or \"SEO\" features are active, stores these parameters in WordPress transients without sufficient sanitization. \n\nThe \"Storage\" occurs in the transient database (`wp_options` table), and the \"Sink\" occurs when the cached data is loaded and rendered via the `[ajax_load_more]` shortcode on a public-facing page or within the plugin's preview environment (`ALM_PREVIEW`).\n\n## 2. Attack Vector Analysis\n- **Endpoint:** `\u002Fwp-admin\u002Fadmin-ajax.php`\n- **Action:** `alm_get_posts` (unauthenticated via `wp_ajax_nopriv_alm_get_posts`)\n- **Vulnerable Parameter:** `container_type`, `transition`, or `button_label`. These parameters are often used to construct HTML elements.\n- **Authentication:** None (Unauthenticated).\n- **Preconditions:** The target site must have a page using the `[ajax_load_more]` shortcode with the `cache=\"true\"` attribute and a known or predictable `cache","The Ajax Load More plugin is vulnerable to Unauthenticated Stored Cross-Site Scripting because it fails to sanitize user-supplied query parameters in its AJAX handler and preview functions. Attackers can inject malicious scripts into WordPress transients (cache) or directly into the preview rendering process, which then executes in the browser of any user viewing the affected page or preview.","\u002F\u002F core\u002Fclasses\u002Fclass-alm-preview.php line 35\n$params    = filter_input_array( INPUT_GET );\n$shortcode = isset( $params['alm_preview'] ) ? $params['alm_preview'] : false;\n\n---\n\n\u002F\u002F core\u002Fclasses\u002Fclass-alm-preview.php line 162\n\u003Cpre id=\"alm-pre\">\u003C?php echo wp_kses_post( $shortcode ); ?>\u003C\u002Fpre>\n\u003C\u002Fdiv>\n\u003Cdiv id=\"alm-preview-wrap\">\n\t\u003C?php echo do_shortcode( $shortcode ); ?>\n\u003C\u002Fdiv>","diff -ru \u002Fhome\u002Fdeploy\u002Fwp-safety.org\u002Fdata\u002Fplugin-versions\u002Fajax-load-more\u002F7.8.3\u002Fcore\u002Fclasses\u002Fclass-alm-preview.php \u002Fhome\u002Fdeploy\u002Fwp-safety.org\u002Fdata\u002Fplugin-versions\u002Fajax-load-more\u002F7.8.4\u002Fcore\u002Fclasses\u002Fclass-alm-preview.php\n--- \u002Fhome\u002Fdeploy\u002Fwp-safety.org\u002Fdata\u002Fplugin-versions\u002Fajax-load-more\u002F7.8.3\u002Fcore\u002Fclasses\u002Fclass-alm-preview.php\t2025-01-21 15:41:22.000000000 +0000\n+++ \u002Fhome\u002Fdeploy\u002Fwp-safety.org\u002Fdata\u002Fplugin-versions\u002Fajax-load-more\u002F7.8.4\u002Fcore\u002Fclasses\u002Fclass-alm-preview.php\t2026-04-20 12:19:22.000000000 +0000\n@@ -32,14 +31,14 @@\n \t\t *\u002F\n \t\tpublic function alm_preview() {\n \t\t\t$params    = filter_input_array( INPUT_GET );\n-\t\t\t$shortcode = isset( $params['alm_preview'] ) ? $params['alm_preview'] : false;\n+\t\t\t$shortcode = isset( $params['alm_preview'] ) ? wp_strip_all_tags( $params['alm_preview'] ) : false;\n \n \t\t\tif ( $shortcode && str_contains( $shortcode, '[ajax_load_more' ) && current_user_can( apply_filters( 'alm_user_role', 'edit_theme_options' ) ) ) {\n \t\t\t\tget_header();\n \n-\t\t\t\t\u002F\u002F Set cache to false.\n-\t\t\t\t$shortcode = str_replace( 'cache=\"true\"', '', $shortcode );\n-\t\t\t\t\u002F\u002F Create Preview\n+\t\t\t\t$shortcode = str_replace( 'cache=\"true\"', '', $shortcode ); \u002F\u002F Set cache to false.\n+\n+\t\t\t\t\u002F\u002F Create Preview.\n \t\t\t\t?>\n \t\t\t\t\u003Cstyle>\n \t\t\t\t\thtml {\n@@ -159,17 +158,16 @@\n \t\t\t\t\t\t\u003Cp>\n \t\t\t\t\t\t\t\u003C?php echo wp_kses_post( __( '\u003Cstrong>Note:\u003C\u002Fstrong> Styling and functionality within this preview environment may not be 100% reflective of how Ajax Load More will appear once added directly to a page on your website.', 'ajax-load-more' ) ); ?>\n \t\t\t\t\t\t\u003C\u002Fp>\n-\t\t\t\t\t\t\u003Cpre id=\"alm-pre\">\u003C?php echo wp_kses_post( $shortcode ); ?>\u003C\u002Fpre>\n+\t\t\t\t\t\t\u003Cpre id=\"alm-pre\">\u003C?php echo esc_html( $shortcode ); ?>\u003C\u002Fpre>\n \t\t\t\t\t\u003C\u002Fdiv>\n \t\t\t\t\t\u003Cdiv id=\"alm-preview-wrap\">\n \t\t\t\t\t\t\u003C?php echo do_shortcode( $shortcode ); ?>\n \t\t\t\t\t\u003C\u002Fdiv>\n \t\t\t\t\u003C\u002Fdiv>\n \t\t\t\t\u003Cscript>\n-\t\t\t\t\t\u002F\u002F Move elements with JS.\n \t\t\t\t\tdocument.title = \"Ajax Load More: Preview\";\n \t\t\t\t\tvar container = document.querySelector(\"#alm-preview\");\n-\t\t\t\t\tdocument.body.append(container);\n+\t\t\t\t\tdocument.body.append(container); \u002F\u002F Move container with JS.\n \t\t\t\t\u003C\u002Fscript>\n \t\t\t\t\u003C?php\n \t\t\t\tget_footer();","1. An unauthenticated attacker targets the WordPress AJAX endpoint `\u002Fwp-admin\u002Fadmin-ajax.php` using the `alm_get_posts` action.\n2. The attacker sends a request including malicious HTML\u002FJavaScript payloads in query parameters that define the UI, such as `button_label`, `container_type`, or `transition` (e.g., `button_label=\u003Cscript>alert(document.domain)\u003C\u002Fscript>`).\n3. If the plugin's 'Cache' or 'SEO' feature is active for the target shortcode, the plugin saves these unsanitized parameters into a WordPress transient (database-backed cache).\n4. When a legitimate user or administrator visits a page where the `[ajax_load_more]` shortcode is rendered with caching enabled, the plugin retrieves the malicious payload from the transient and reflects it onto the page.\n5. The script executes in the context of the victim's session, potentially allowing for session hijacking or further administrative actions.","gemini-3-flash-preview","2026-06-26 01:03:58","2026-06-26 01:05:45",{"type":38,"vulnerable_version":39,"fixed_version":11,"vulnerable_browse":40,"vulnerable_zip":41,"fixed_browse":42,"fixed_zip":43,"all_tags":44},"plugin","7.8.3","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fajax-load-more\u002Ftags\u002F7.8.3","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fajax-load-more.7.8.3.zip","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fajax-load-more\u002Ftags\u002F7.8.4","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fajax-load-more.7.8.4.zip","https:\u002F\u002Fplugins.trac.wordpress.org\u002Fbrowser\u002Fajax-load-more\u002Ftags"]