From e26578abe7771715aef9fb1f8a0c4a0ef6c65fd1 Mon Sep 17 00:00:00 2001
From: Manu Sporny
-It is possible to include data in [=verifiable credentials=] that include
+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.
@@ -6376,24 +6376,24 @@ Inappropriate Use
Code Injection
Code Injection
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
+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 this because it: +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 would 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 have access to the network. +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.