Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD/HTML can be used to falsify link targets #12774

Closed
pacien opened this issue Mar 18, 2020 · 1 comment
Closed

MD/HTML can be used to falsify link targets #12774

pacien opened this issue Mar 18, 2020 · 1 comment
Labels

Comments

@pacien
Copy link
Contributor

pacien commented Mar 18, 2020

Description

It's possible to use Markdown/HTML formatting to hide the real target of a link.
This could be used in phishing attacks.

Steps to reproduce

{
  "content": {
    "body": "[https://www.mq.edu.au/about/coronavirus-faqs/updates-from-the-vc](https://www.youtube.com/watch?v=dQw4w9WgXcQ)",
    "format": "org.matrix.custom.html",
    "formatted_body": "<a href=\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\">https://www.mq.edu.au/about/coronavirus-faqs/updates-from-the-vc</a>",
    "msgtype": "m.text"
  }
}

is rendered as:

15845454395543

Mitigation

Other instant messaging apps and most email clients display a warning/confirmation pop-up when clicking on this kind of links, clearly displaying the actual target to the user and letting them choose whether to open it or not.

Version information

  • Platform: web and desktop
  • Version: 1.5.12

Riot on mobile might be affected too.

@t3chguy
Copy link
Member

t3chguy commented Mar 18, 2020

Duplicate of #7748

@t3chguy t3chguy marked this as a duplicate of #7748 Mar 18, 2020
@t3chguy t3chguy closed this as completed Mar 18, 2020
@jryans jryans removed the Z-UI/UX label Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants