diff --git a/index.html b/index.html index 5493b3c99..a90231391 100644 --- a/index.html +++ b/index.html @@ -6357,6 +6357,54 @@
+It is possible for data in [=verifiable credentials=] to include +executable code or scripting languages. Authors of verifiable credentials are +advised to avoid doing so, unless necessary, and the risks have been mitigated +to the extent possible. +
+ ++For example, when a single natural language string contains multiple languages +or annotations, the contents of the string might require additional structure or +markup in order to be presented correctly. It is possible to use markup +languages, such as HTML, to label spans of text in different languages or to +supply string-internal markup needed for the proper display of [=bidirectional +text=]. It is also possible to use the `rdf:HTML` datatype to encode such values +accurately in JSON-LD. +
+ ++Despite the ability to encode information as HTML, implementers are strongly +discouraged from doing so, for the following reasons: +
+ ++If implementers feel they need to use HTML, or other markup languages capable of +containing executable scripts, to address a specific use case, they are advised +to analyze how an attacker could use the markup to mount injection attacks +against a consumer of the markup, and then deploy mitigations against the +identified attacks, such as running the HTML rendering engine in a sandbox with +no ability to access the network. +
+-When a single natural language string contains multiple languages or -annotations, the contents of the string might require additional structure or -markup in order to be presented correctly. It is possible to use markup -languages, such as HTML, to label spans of text in different languages or to -supply string-internal markup needed for proper display of [=bidirectional -text=]. It is also possible to use the `rdf:HTML` datatype to -encode such values accurately in JSON-LD. -
- --Despite the ability to encode information as HTML, implementers are strongly -discouraged from doing this because it: -
- --If implementers feel they must use HTML, or other markup languages capable of -containing executable scripts, to address a specific use case, they are advised -to analyze how an attacker would use the markup to mount injection attacks -against a consumer of the markup and then deploy mitigations against the -identified attacks. -
-