A URL path on the nextcloud.com site reflected injected text into the page, letting an attacker craft a link that displays spoofed content such as a fake 'has moved to' message pointing at another site. An attacker could use this to mislead visitors into believing the page had redirected them elsewhere.
PoC Screen Shot: text_injection.pngFrom the original on HackerOne
Let me know if you need more information.
Cheers!
Rey Mark Jerusha
The original report as published on HackerOne, by demo--hacker. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Generating the AI write-up for this report.
This usually takes about 30 seconds. You can read the original meanwhile; this page updates itself.
Writing the technical write-up
Writing the version for beginners
Checking every passage against the original
How it worked
Root cause
Likely the application reflects the URL path into the response without sanitising or encoding it, so injected text appears as page content.
Impact
A victim who opens the crafted link could see attacker-controlled text on the legitimate domain, which may be used to mislead them into visiting another site.
What the attacker needed
Victim opens a crafted link
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.
Generating the AI write-up for this report.
This usually takes about 30 seconds. You can read the original meanwhile; this page updates itself.
Writing the technical write-up
Writing the version for beginners
Checking every passage against the original
Some websites take part of the address you type and show it back on the page. If they do not clean that text first, an attacker can put their own words in the address so the page displays a fake message, for example claiming the site has moved to another address. This is called content spoofing: the page looks official but shows attacker-chosen text.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.