Cross Site Scripting
A stored cross-site scripting flaw existed in the comment/reply box of the Nextcloud help forum, allowing an attacker to inject a script that executes when the comment is viewed. The reporter attributes it to an outdated Akismet plugin version known to be vulnerable to unauthenticated stored XSS.
- Disclosed after under an hour
Hello team, While i was hunting (https://help.nextcloud.com), i found xss there in comment/reply box..
Steps to reproduce
- go to https://help.nextcloud.com.
- Click On Any (I'm selecting "Welcome to the Nextcloud forums")
- Sign in or Sign up in your account.
- Click Reply..
- Type or paste ( <abbr title='" class="comment-link"><a href='
href="'> :-) <abbr title='" ' class="<script>alert(document.cookie)</script>">x</abbr></a> ) Without brackets.. 6. You will get popup (You need to be logged in to do that.) 7. This mean xss payload is executing!
Detail: I think xss payload is executing because you're using old version of akismet.. Akismet 2.5.0-3.1.4 - Is vulnerable to Unauthenticated Stored Cross-Site Scripting (XSS)..
Reference: https://wpvulndb.com/vulnerabilities/8215
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 an outdated Akismet plugin version that failed to sanitise comment content, allowing stored script injection.
Impact
An attacker could execute script in the browser of anyone viewing the comment, as shown by a popup appearing.
What the attacker needed
A free account on the forum; victim views the crafted comment
The fix
The forum should be updated to a non-vulnerable version of the Akismet plugin.
How it was found
- Go to the Nextcloud help forum.
- Open any discussion thread.
- Sign in or create an account.
- Click Reply.
- Paste a crafted HTML payload into the reply box.
- Paste the payload and observe the popup appearing.
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.
XSS is when a site shows user input without cleaning it, so code runs in visitors' browsers. Here a crafted reply made a script run.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.