XSS in theming snippets?

fago - March 28, 2007 - 19:50
Project:Documentation
Component:Correction/Clarification
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

http://drupal.org/node/35730

ok, it's hard to check all, but isn't there a XSS even in the basic "getting started" example?

#1

paschals - August 31, 2008 - 14:08
Component:Customization and Theming Guide» Correction/Clarification

#2

dereine - January 4, 2009 - 18:41
Status:active» needs review

drupal5 does nearly the same

<?php
$output
.= '<dt class="'. $item['class'] .'">'. $item['title'] .'</dt>';
?>

This items get there by hook_user $op = 'view'
-> the modules should provide the safety stuff

for example the profile module
http://api.drupal.org/api/function/profile_view_field/6

so there should be no xss problem or not?

 
 

Drupal is a registered trademark of Dries Buytaert.