diff --git a/xep-0071.xml b/xep-0071.xml index cc6c0ff3..ebfe2ce4 100644 --- a/xep-0071.xml +++ b/xep-0071.xml @@ -36,6 +36,12 @@ http://www.xmpp.org/schemas/xhtml-im-model.xsd &stpeter; + + 1.5.2 + 2017-10-12 + jwi +

Clarify security considerations.

+
1.5.1 2016-01-05 @@ -838,7 +844,8 @@ That seems fine to me. -

The exclusion of scripts, applets, binary objects, and other potentially executable code from XHTML-IM reduces the risk of exposure to harmful or malicious objects caused by inclusion of XHTML content. To further reduce the risk of such exposure, an implementation MAY choose to:

+

While scripts, applets, binary objects and other potentially executable code is excluded from the profiles used in XHTML-IM, malicious entities still may inject those and thus exploit entities which rely on this exclusion. Entities thus MUST assume that inbound XHTML-IM may be mailicious and MUST sanitize it according to the profile used, by ignoring elements and removing attributes as needed.

+

To further reduce the risk of such exposure, an implementation MAY choose to:

  • Not make hyperlinks clickable
  • Not fetch or present images but instead show only the 'alt' text.