Skip to content

Commit efc5462

Browse files
committed
warn people to put their Matrix HS on a separate domain
1 parent 2199fe5 commit efc5462

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ of Vector:
2020
as desired. See below for details.
2121
1. Enter the URL into your browser and log into vector!
2222

23+
Important Security Note
24+
=======================
25+
26+
We do not recommend running Vector from the same domain name as your Matrix
27+
homeserver. The reason is the risk of XSS (cross-site-scripting) vulnerabilities
28+
that could occur if someone caused Vector to load and render malicious user generated
29+
content from a Matrix API which then had trusted access to Vector due
30+
to sharing the same domain.
31+
32+
We have put some coarse mitigations into place to try to protect against this situation,
33+
but it's still not good practice to do it in the first place.
34+
See https://github.com/vector-im/vector-web/issues/1977 for more details.
35+
2336
Building From Source
2437
====================
2538

0 commit comments

Comments
 (0)