This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
[hackerone] download attribute allows downloading local files #10644
Labels
fixed-with-brave-core
This issue will automatically resolved with the replacement of Muon with Brave Core.
priority/P4
Minor loss of function. Workaround usually present.
security
wontfix
from https://hackerone.com/reports/258710:
"The attribute download in a a tag allows for download the href target to file and saving it locally.
In mozilla and chrome, it is forbidden to download local file via file:// .., in Brave however this is not enforced and it is not clear to the user if they are downloading something remote or local. This could be abused to social engineering and phishing that is hard to spot without reviewing the js code."
I don't see much of a security risk here, but the same behavior is not possible in Chrome.
PoC: https://jsfiddle.net/zm2jfovs/ (try clicking the download link in Chrome vs Brave)
The text was updated successfully, but these errors were encountered: