This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanitise the http requests (cs3org#3316)
- Loading branch information
1 parent
2b7e228
commit 998677c
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Security: Mitigate XSS | ||
|
||
We've mitigated an XSS vulnerability resulting from unescaped HTTP responses containing | ||
user-provided values in pkg/siteacc/siteacc.go and internal/http/services/ocmd/invites.go. | ||
This patch uses html.EscapeString to escape the user-provided values in the HTTP | ||
responses of pkg/siteacc/siteacc.go and internal/http/services/ocmd/invites.go. | ||
|
||
https://github.com/cs3org/reva/pull/3316 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters