Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt	(revision 13234)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt	(revision 13235)
@@ -90,5 +90,5 @@
     <tal:showNoApplicants condition="not: view/showApplicants">
       <p i18n:translate="note_acmp">
-          There are more than 5000 application records in this container.
+          There are more than 1000 application records in this container.
           In order to prevent from downloading big amounts of data, the
           Applicants tab has been disabled. Please use the
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py	(revision 13234)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py	(revision 13235)
@@ -29,5 +29,5 @@
 from waeup.kofa.schema import TextLineChoice, FormattedDate
 from waeup.kofa.interfaces import (
-    IKofaObject, validate_email,
+    IKofaObject, validate_email, validate_html,
     SimpleKofaVocabulary)
 from waeup.kofa.interfaces import MessageFactory as _
@@ -177,4 +177,5 @@
         title = _(u'Human readable description in HTML format'),
         required = False,
+        constraint=validate_html,
         default = u'''This text can been seen by anonymous users.
 Here we put multi-lingual general information about the application procedure.
@@ -243,4 +244,5 @@
         title = _(u'Human readable description in HTML format'),
         required = False,
+        constraint=validate_html,
         default = u'''This text can been seen by anonymous users.
 Here we put multi-lingual information about the study courses provided, the application procedure and deadlines.
@@ -277,6 +279,6 @@
         title = _(u'Human readable notice on application slip in HTML format'),
         required = False,
-        )
-
+        constraint=validate_html,
+        )
 
     hidden= schema.Bool(
Index: /main/waeup.kofa/trunk/src/waeup/kofa/documents/interfaces.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/documents/interfaces.py	(revision 13234)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/documents/interfaces.py	(revision 13235)
@@ -19,5 +19,5 @@
 from zope import schema
 from waeup.kofa.interfaces import (
-    IKofaObject, validate_id,
+    IKofaObject, validate_id, validate_html,
     ContextualDictSourceFactoryBase)
 from waeup.kofa.interfaces import MessageFactory as _
@@ -82,4 +82,5 @@
         title = _(u'Multilingual content in HTML format'),
         required = False,
+        constraint=validate_html,
         )
 
Index: /main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py	(revision 13234)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py	(revision 13235)
@@ -179,4 +179,13 @@
     return True
 
+# Define a validation method for HTML fields
+class NotHTMLValue(schema.ValidationError):
+    __doc__ = u"Style or script elements not allowed"
+
+def validate_html(value):
+    if '<style' in value or '<script' in value:
+        raise NotHTMLValue(value)
+    return True
+
 # Define a validation method for international phone numbers
 class InvalidPhoneNumber(schema.ValidationError):
@@ -650,4 +659,5 @@
         required = False,
         default = default_html_frontpage,
+        constraint=validate_html,
         )
 
