Exploit databaseDownload repository ZIP
GH-c97cc447ad575d5f16bdff2de597d43c
im0xfay/cve-2026-121684
Sources for CVE-2026-121684
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files2
im0xfay/cve-2026-121684Revision 89ea7c0dfbba
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
tools/lab-setup.php
PHP · 1,393 bytes<?php
// Lab provisioning for CVE-2026-121684 (run via: bash lab/wp.sh eval-file <path>)
// 1) neutralise Soledad's license gate 2) enable the AJAX/more-post path
// 3) publish posts so WP_Query has results 4) print the public nonce.
$mods = array(
'penci_page_navigation_ajax' => true, // enqueues more-post script -> public nonce
'penci_page_navigation_scroll' => false,
'penci_infeedads_home_code' => '',
'penci_infeedads_home_num' => 3,
);
foreach ( $mods as $k => $v ) {
set_theme_mod( $k, $v );
}
// Soledad license gate: bypass so the theme renders without an Envato purchase code.
update_option( 'penci_soledad_license', 'lab-bypass' );
update_option( 'penci_license_valid', '1' );
update_option( 'penci_soledad_verified', '1' );
if ( ! get_option( 'penci_clear_cache' ) ) { update_option( 'penci_clear_cache', true ); }
// Posts.
for ( $i = 1; $i <= 6; $i++ ) {
if ( ! get_page_by_title( "Lab Post $i", OBJECT, 'post' ) ) {
wp_insert_post( array( 'post_title' => "Lab Post $i", 'post_status' => 'publish', 'post_content' => 'lab content' ) );
}
}
echo "posts=" . wp_count_posts()->publish . "\n";
echo "nav_ajax=" . var_export( get_theme_mod( 'penci_page_navigation_ajax' ), true ) . "\n";
echo "nonce_more_post=" . wp_create_nonce( 'penci_more_post_ajax' ) . "\n";
echo "theme=" . wp_get_theme()->get( 'Name' ) . " v" . wp_get_theme()->get( 'Version' ) . "\n";