Details
-
Improvement
-
Resolution: Fixed
-
Major
-
13.10.5, 14.3
-
None
Description
The XML module should provide a component that provides ways to determine if a certain HTML element or attribute is considered safe for user-generated content that can be re-used for filtering elements and attributes in various places in XWiki. As the definition what is safe might depend on the context of the wiki, there should be different options that can be selected with a configuration option: a secure one based on a definition of allowed elements, attributes and values of attributes, a less secure one that is based on disallowing dangerous elements, attributes and attribute values and an insecure one that allows everything.
Attachments
Issue Links
- is related to
-
XCOMMONS-3868 The namespace handling of the HTML sanitizer doesn't match browsers inside HTML integration points
-
- Open
-
-
XCOMMONS-3869 The HTML sanitizer removes SVG elements with camel case names like linearGradient
-
- Closed
-
-
XCOMMONS-3866 The HTML sanitizer allows the for attribute on all elements
-
- Closed
-
-
XCOMMONS-3867 The HTML sanitizer allows SVG animations of the href attribute
-
- Closed
-
-
XCOMMONS-3870 The HTML sanitizer removes the MathML columnalign attribute
-
- Closed
-
-
XCOMMONS-3871 Allow more safe elements and attributes in the HTML sanitizer
-
- Open
-