Exploit database

GH-6619317e0cd9902e082b21d2f8f16c38

daniel616/cve-2022-21661-demo

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-21661

10 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files10

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php

PHP · 438 bytes
<?php
/**
 * Show the appropriate content for the Gallery post format.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_One
 * @since Twenty Twenty-One 1.0
 */

// Print the 1st gallery found.
if ( has_block( 'core/gallery', get_the_content() ) ) {

	twenty_twenty_one_print_first_instance_of_block( 'core/gallery', get_the_content() );
}

the_excerpt();