You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
If you want previews from youtube etc, you'd need to extend frame-src to either a whitelist or a wildcard.
If you want favicons for links, you'd need to extend img-src to either a whitelist or a wildcard.
The wss:// might look like a repetition, but is needed until Apple fixes Safari: w3c/webappsec-csp#7
This would protect (in so far that you could not use the attack to exfiltrate data to another origin, you could still inject scripts since we have to allow unsafe settings with the current release) you from XSS attacks like that one fixed in RocketChat/Rocket.Chat#19817
It would be very nice to improve from that and get ride of all "unsafe-inline", but that would need application support.
The text was updated successfully, but these errors were encountered:
Working for the current (3.9.3) are the following ones:
If you want previews from youtube etc, you'd need to extend
frame-src
to either a whitelist or a wildcard.If you want favicons for links, you'd need to extend
img-src
to either a whitelist or a wildcard.The wss:// might look like a repetition, but is needed until Apple fixes Safari: w3c/webappsec-csp#7
This would protect (in so far that you could not use the attack to exfiltrate data to another origin, you could still inject scripts since we have to allow unsafe settings with the current release) you from XSS attacks like that one fixed in RocketChat/Rocket.Chat#19817
It would be very nice to improve from that and get ride of all "unsafe-inline", but that would need application support.
The text was updated successfully, but these errors were encountered: