Security scan report

Created on 8 October 2020, about 4 years ago
Updated 5 June 2023, over 1 year ago

Security scans indicate the possibility of vulnerabilities due to improper use of fetchAssoc(). Can this be resolved or is this a false-positive?

search_autocomplete/search_autocomplete.autocomplete.inc line 67


function search_autocomplete_autocomplete($fid) {

  $user_input = isset($_GET['term']) ? $_GET['term']: '';
  $user_input = filter_xss($user_input);

  $result = db_select('search_autocomplete_forms', 'f')
  ->fields('f', array('data_view', 'no_results', 'all_results'))
  ->condition('f.fid', $fid, '=')
  ->execute()
  ->fetchAssoc();

  $view = views_get_view($result['data_view']);

🐛 Bug report
Status

Closed: cannot reproduce

Version

4.9

Component

Code

Created by

🇮🇳India SachinT1996

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024