Embedded links don’t show the target page

סיכום מבוסס בינה מלאכותית

In a UX-focused discussion titled ‘Embedded links don’t show the target page,’ amaha raises a security concern: Discourse displays OpenGraph previews without visibly showing the actual target URL, making it possible to spoof trusted sites (e.g., The Verge) using fake meta tags. JimPas notes that hovering reveals the true link on desktop, but amaha questions mobile usability, since not all users check links before clicking. JimPas admits lacking mobile experience. riking suggests using the ‘onebox domains blacklist’ to block abusive domains, but JimPas clarifies that the issue isn’t active abuse but a potential exploit — especially if anonymous users post deceptive links. amaha adds that major platforms like Twitter, Facebook, and Apple show target URLs, and shares an example where they posted a fake ‘Byte shutdown’ link (redirecting to BlackLivesMatter) on Byte’s forum, demonstrating the risk. They advocate for Discourse to display the domain or truncated URL for transparency, especially for non-moderators who can’t control blacklists.

Hi! Recently, I’ve made a few clickbait links using OpenGraph meta tags and I’ve noticed that Discourse never shows the target URL, but instead relies on the spoofable meta tags to let a user know what they’re clicking on. For example, here’s a real article on The Verge:

However, if I copy and paste the tags into my own site, I can make a replica of the real article’s preview without any indication it’s not the original.

This seems dangerous because users can click on a “trusted site” and actually go to something completely different. I’m suggesting that instead of showing the article’s publish date, it shows the target site’s domain or a truncated URL.

2 לייקים

Hovering over the link does show the target site’s URL - in your first example. In the 2nd it shows your “fake” URL. Granted, not everyone will bother to even check, but simply click away.

Thanks, I guess I missed that. What about mobile users, though? Is there something similar for them? I still think it could be a bit more obvious for everyone…

לייק 1

Sorry. That’s one thing I don’t have… a cellphone. Gave that up 21 years ago when I retired. The peace and quiet. :slightly_smiling_face:

If you’re experiencing active abuse of this, you can add the link hosts to the onebox domains blacklist site setting.

2 לייקים

I think he means he may have found an exploitable feature. He did he create clickbait links to look like trusted sites. The one thing wrong with this scenario is that the user who posts it is also identified. This could be a problem if anonymous users post something like this.

I’m not a moderator on any forums I use, so I don’t have any control over that. Twitter, Facebook, and Apple Link Previews all show the target link, and Discourse doesn’t. Prior to the original post, I actually shared a fake link “announcing” the shutdown of the byte app on their forums without realizing it wouldn’t show the real link. My link redirected to a BlackLivesMatter hub, but still shows the potential of abuse this could have. https://community.byte.co/t/byte-is-shutting-down-not-really/54585

לייק 1