For a single instance, https://github.com/WhatCD/Gazelle/blob/master/sections/user/...
The $UserId variable, which is used throughout the queries within this file, is set by an unfiltered GET variable.
if (empty($_GET['id']) || !is_numeric($_GET['id']) || (!empty($_GET['preview']) && !is_numeric($_GET['preview']))) {
if (empty($_GET['id']) || !is_numeric($_GET['id']) || (!empty($_GET['preview']) && !is_numeric($_GET['preview']))) {