Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (Revision 9751) +++ typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) @@ -1740,6 +1740,7 @@ } else { $confData['fieldname'] = str_replace(' ','_',trim($typeParts[0])); } + $confData['fieldname'] = htmlspecialchars($confData['fieldname']); $fieldCode=''; if ($conf['wrapFieldName']) { @@ -2011,6 +2012,7 @@ // Field: $fieldLabel = $confData['label']; + $fieldLabel = t3lib_div::removeXSS($fieldLabel); if ($conf['accessibility'] && trim($fieldLabel) && !preg_match('/^(label|hidden|comment)$/',$confData['type'])) { $fieldLabel = ''; }