Skip to content
XSS Disclosed report Beginner

Content Spoofing/Text Injection in nextcloud.com

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.

demo--hacker Follow

Originally disclosed on HackerOne

  • Triaged in 22 hours
  • Fixed in 35 days
  • Disclosed after 36 days

Greetings,

Hello Team, I have found a Content Spoofing/Text Injection on this domain https://nextcloud.com

PoC URL: https://nextcloud.com/wp-content/cache/minify/%0d%0ahas%20moved%20to%20www.attacker.com.Please%20visit%20attacker.com%20present%20resource

PoC Screen Shot:
text_injection.png
text_injection.png From 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.

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.

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.

More by demo--hacker

View all

2 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.