getgems-io / issues

30 stars 10 forks source link

Allowed add any link in profile #5

Open LetikGit opened 2 years ago

LetikGit commented 2 years ago

Bug Type

Security

Reproduction steps

  1. Go to profile
  2. Click "Edit information"
  3. In the link's block add link from iplogger.org

Actual result

No error from api. Backend allow add any links to profile With link from iplogger (as example) we can get information about users who click on this link in our profile (like IP, Provider, geolocation, header info, info about os and device)

Expected result

White or blacklist links, don't allow users add any links. Or add gateway, when you click on link, to filter bad links on service.

Suggested Severity

Critical

Device

OS: macOS Browser chrome Version 105

Additional Context

As example profile with link - https://getgems.io/user/EQAyydOEBX_MQd-xyrDg9Aoxan7uS5eVS75XXxSoU6sAaH7B