jagrosh / Vortex

🌀 Discord Moderation Bot
https://github.com/jagrosh/Vortex/wiki
Apache License 2.0
572 stars 322 forks source link

Link detection can be bypassed using URI encoded characters #118

Open NurMarvin opened 3 years ago

NurMarvin commented 3 years ago

By using URI encoded characters it's possible to bypass Vortex's (invite) link detection. Whilst the link itself isn't clickable, an embed is still getting generated which is clickable. The following example is for https://discord.gg/ian which was converted to https://%64%69%73%63%6f%72%64%2e%67%67/%69%61%6e using URI encoding in order to bypass the filter: image

MichailiK commented 3 years ago

I'll look into that some time, unless jagrosh does first.

i0bs commented 3 years ago

URI requoting/encoding gives me the same result as well