Reflected XSS when renaming a file with a vulnerable name which results in an error
- Triaged in 2 hours
- Fixed in 8 months
- Paid in 7 months
- Disclosed after 9 months
Hi,
It looks like Nextcloud team will accept the XSS protected by the CSP. (Report #896511) Here is another XSS.
- Rename an existing filename to <img src=x onerror=prompt(1)>.jpg.
- Anyone tries to rename this <img src=x onerror=prompt(1)>.jpg with an invalid filename, like add a "" in it, will trigger the XSS attack.
- Need bypass the CSP.
Thanks
Impact
Cross-Site Scripting
Attachments


Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity XSS bug in Nextcloud, rated CVSS 5.3. HackerOne made it public on 1 March 2021 as CVE-2021-22878. It paid $100.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.