Exploit database

GH-e38ca529760f920e08c1c9520d85532a

sudotom/rcno-reviews

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-33648

1 source

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

Repository files11
sudotom/rcno-reviewsRevision 9b453bce4a6d

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

admin/views/rcno-reviews-isbn-metabox.php

PHP · 1,147 bytes
<?php
/**
 * The ISBN metabox view of the plugin.
 *
 * @link       https://wzymedia.com
 * @since      1.0.0
 *
 * @var \WP_Post $review
 * @package    Rcno_Reviews
 * @subpackage Rcno_Reviews/admin/views
 */


$isbn         = get_post_meta( $review->ID, 'rcno_book_isbn', true );
$external_api = Rcno_Reviews_Option::get_option( 'rcno_external_book_api', '' );

if ( 'google-books' === $external_api ) {
	$external_api_name = 'Google Books®';
} else {
	$external_api_name = 'Goodreads®';
}

?>

<div class="book-isbn-metabox">
    <input type="text" name="rcno_book_isbn" id="rcno_book_isbn" size="20"
           value="<?php echo esc_attr( $isbn ); ?>"/>
	<?php if ( 'no-3rd-party' !== $external_api ) : ?>
        <button href="#" class="button rcno-isbn-fetch <?php echo esc_attr( $external_api ); ?>" title="">Fetch <span class="rcno-ajax-loading"></span></button>
	<?php endif; ?>
	<?php wp_nonce_field( 'rcno_save_book_isbn_metadata', 'rcno_isbn_nonce' ); ?>
    <div class="book-isbn-metabox-error">
        <p><?php printf( __( 'Your book was not found on %s', 'recencio-book-reviews' ), $external_api_name ); ?></p>
    </div>
</div>