Skip to content

Commit

Permalink
Expand on capability URL privacy hazards.
Browse files Browse the repository at this point in the history
Fixes #155
  • Loading branch information
clelland committed Feb 17, 2021
1 parent b50439e commit e3a229d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -1012,12 +1012,22 @@ <h2 id="security">Security Considerations</h2>

<h3 id="capability-urls">Capability URLs</h3>

Some URLs are valuable in and of themselves. To mitigate the possibility
that such URLs will be leaked via this reporting mechanism, we strip out
credential information and fragment data from the URL we store as a
<a>report</a>'s originator. It is still possible, however, for a feature
to unintentionally leak such data via a report's [=report/body=]. Implementers
SHOULD ensure that URLs contained in a report's body are similarly stripped.
Some URLs are valuable in and of themselves. They may contain explicit
credentials in the username and password portion of the URL, or may grant
access to some resource to anyone with knowledge of the URL path.
Additionally, they may contain information which was never intended leave the
user's browser in the URL fragment. See [[CAPABILITY-URLS]] for more
information.

To mitigate the possibility that such URLs will be leaked via this reporting
mechanism, the algorithms here strip out credential information and fragment
data from the URL sent as a <a>report</a>'s originator. It is still possible,
however, for sensitive information in the URL's path to be leaked this way.
Sites which use such URLs may need to operate their own reporting endpoints.

Additionally, such URLs may be present in a report's [=report/body=].
Specifications which extend this API and which include any URLs in a report's
[=report/body=] SHOULD require that they be similarly stripped.
</section>

<section>
Expand Down

0 comments on commit e3a229d

Please sign in to comment.