Index: user_terms.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/user_terms/user_terms.module,v
retrieving revision 1.1.2.24
diff -u -p -r1.1.2.24 user_terms.module
--- user_terms.module	19 Mar 2010 22:03:07 -0000	1.1.2.24
+++ user_terms.module	19 Mar 2010 22:22:27 -0000
@@ -162,7 +162,7 @@ function user_terms_view_profile_grouped
   foreach ($terms as $tid => $term) {
     // Check if each term's vocab is actually enabled
     if (in_array($term['vid'], $vids)) {
-      $term_names[] = $terms[$tid]['name'];
+      $term_names[] = check_plain($terms[$tid]['name']);
     }
   }
 
@@ -184,7 +184,7 @@ function user_terms_view_profile_separat
     
     foreach ($terms as $tid => $term) {
       if ($term['vid'] == $vid) {
-        $term_names[] = $terms[$tid]['name'];
+        $term_names[] = check_plain($terms[$tid]['name']);
         unset($terms[$tid]);
       }
     }
@@ -207,7 +207,7 @@ function user_terms_view_profile_item(&$
 
   $account->content['user_terms'][$item_key] = array(
     '#type' => 'user_profile_item',
-    '#title' => $item_title,
+    '#title' => check_plain($item_title),
     '#value' => theme('item_list', $term_names),
     '#weight' => $weight,
   );
