Possible XSS
The report suggests that Markdown rendering may allow users to set target=_blank on links, which could enable reverse tabnabbing if the linked page uses window.opener. The author did not demonstrate a working exploit and only speculates about DOM manipulation.
- Disclosed after 37 days
Hi,
I opened this report as soon as I have read https://mathiasbynens.github.io/rel-noopener/
It doesn't necessarly affect HackerOne, nor have i given it enough time to get a working dom manipulation. But since Markdown allows creating target attributes to anchor tags, it may be possible to get this executed. even if it doesn't, I think you shouldn't let users set the target=_blank attribute to their links. I reported this because I know (and have read similar reportes where) hackerone cares about even the slightest possiblites of this kinds of bugs existing
Markdown can create them using:
[link](url){:target="_blank"}
Thanks, Paulos
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Markdown renderer allows users to set the target attribute on links, which could enable reverse tabnabbing if the linked page is malicious.
Impact
If a user clicks a crafted link, a malicious page could potentially redirect the original tab, but the report does not confirm this is possible and no exploit was demonstrated.
What the attacker needed
User can post Markdown with links; victim clicks a crafted link
The fix
The Markdown renderer should not let users set target=_blank on their links.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a link opens in a new tab, the new page can sometimes control the original page through a browser feature called window.opener. If the new page is malicious, it could redirect the original tab to a fake login page. This report worries that users might be able to add such links using Markdown, but it does not show a real attack.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.