Exploit databaseDownload repository ZIP
GH-01577bb623b1e22ccb709b0b756e9086
686f6c61/poc-geoleak-cve-2026-52715
Sources for CVE-2026-52715
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files12
686f6c61/poc-geoleak-cve-2026-52715Revision 75828109c18a
- ↑..Parent directory
- admin/
- class-gmw-locations-component.php
- class-gmw-member-location-form.php
- class-gmw-members-locator-form.php
- class-gmw-members-locator-location-tab.php
- class-gmw-members-locator-mashup-map-form.php
- class-gmw-single-bp-member-location.php
- gmw-members-locator-actions.php
- gmw-members-locator-activity.php
- gmw-members-locator-ajax-info-window-loader.php
- gmw-members-locator-functions.php
- gmw-members-locator-template-functions.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
docker/geo-my-wp/plugins/members-locator/includes/gmw-members-locator-activity.php
PHP · 2,683 bytes<?php
/**
* GEO my WP Members Lcoator member activity.
*
* @package geo-my-wp
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Record location activity.
*
* @param int $user_id Member ID.
*
* @param array $user_location Member location.
*
* @return [type] [description]
*/
function gmw_record_member_location_activity( $user_id, $user_location ) {
if ( ! function_exists( 'bp_activity_add' ) ) {
return false;
}
$ulc_prefix = gmw_get_ulc_prefix();
// get user link.
$user_link = bp_core_get_userlink( $user_id );
// get user's current address if exists.
$current_address = ! empty( $_COOKIE[ $ulc_prefix . 'formatted_address' ] ) ? '&daddr=' . str_replace( ' ', '+', urldecode( sanitize_text_field( wp_unslash( $_COOKIE[ $ulc_prefix . 'formatted_address' ] ) ) ) ) : '';
// region and language.
$region = '®ion=' . gmw_get_option( 'general_settings', 'country_code', 'us' );
$language = '&hl=' . gmw_get_option( 'general_settings', 'langauge_code', 'en' );
// modify the address.
$activity_address = apply_filters( 'gmw_fl_activity_address_fields', $user_location['formatted_address'], $user_location, $user_id );
// show address in activity only if enabled or not empty.
if ( ! empty( $activity_address ) ) {
/* translators: %1$s: member's name, %2$s: location */
$activity_text = __( '%1$s updated new location at %2$s', 'geo-my-wp' );
$activity_location = '<a class="gmw-fl-location-activity gmw-icon-location" target="_blank" href="' . esc_url( 'https://maps.google.com/maps?f=d' . $language . $region . '&geocode=&saddr=' . $activity_address . $current_address . '&ie=UTF8&z=12' ) . '" >' . esc_attr( $activity_address ) . '</a>';
$activity_action = sprintf( $activity_text, $user_link, $activity_location );
} else {
/* translators: %s: member's name */
$activity_text = __( '%s updated new location', 'geo-my-wp' );
$activity_action = sprintf( $activity_text, $user_link );
}
// generate activity arguments.
$args = apply_filters(
'gmw_fl_activity_update_args',
array(
'user_id' => $user_id,
'action' => $activity_action,
'primary_link' => bp_core_get_userlink( $user_id, false, true ),
'component' => buddypress()->members->id,
'type' => 'gmw_member_location_updated',
'recorded_time' => gmdate( 'Y-m-d H:i:s' ),
),
$user_id,
$user_location,
$current_address
);
// generate activity.
$activity_id = bp_activity_add( $args );
// do something after activity updated.
do_action( 'gmw_fl_after_activity_updated', $activity_id, $args, $user_id, $user_location );
return $activity_id;
}