Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2009 at 18:21 UTC
Updated:
16 Nov 2009 at 20:20 UTC
I reported this issue to the security team a few months ago, and also talked about it with Earl in IRC a few weeks ago. They do not consider this critical enough to be managed as a security issue. I'm opening this issue here because it has not been fixed yet, so this is in the hope that it doesn't get missed.
The issue affects views/includes/admin.inc and it can be fixed like this:
- $queries .= t('[@time ms]', array('@time' => intval($query[1] * 100000) / 100)) . ' ' . $query[0];
+ $queries .= t('[@time ms]', array('@time' => intval($query[1] * 100000) / 100)) . ' ' . check_plain($query[0]);
Comments
Comment #1
merlinofchaos commentedComment #2
markus_petrux commentedThanks!