Exploit databaseDownload repository ZIP
GH-9b291812d998ae6b68f8e3fcf6f8d2e6
0x4e0x650x6f/wordpress-cve-cve-2022-21661
Sources for CVE-2022-21661
10 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
0x4e0x650x6f/wordpress-cve-cve-2022-21661Revision 745e79963aae
- ↑..Parent directory
- base.php
- content.php
- post-type.php
- root.php
- templates.php
- wp-content.php
- wp-post-type.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
plugins/elementor/core/app/modules/import-export/directories/wp-content.php
PHP · 798 bytes<?php
namespace Elementor\Core\App\Modules\ImportExport\Directories;
use Elementor\Modules\LandingPages\Module as Landing_Pages_Module;
use Elementor\TemplateLibrary\Source_Local;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class WP_Content extends Base {
protected function get_name() {
return 'wp-content';
}
protected function get_default_sub_directories() {
$post_types = get_post_types( [
'public' => true,
'can_export' => true,
] );
unset(
$post_types['attachment'],
$post_types[ Landing_Pages_Module::CPT ],
$post_types[ Source_Local::CPT ]
);
$sub_directories = [];
foreach ( $post_types as $post_type ) {
$sub_directories[] = new WP_Post_Type( $this->iterator, $this, $post_type );
}
return $sub_directories;
}
}