Skip to content
XSS Disclosed report Beginner

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.

lulliii Follow

Originally disclosed on HackerOne

  • 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

  1. go to https://help.nextcloud.com.
  2. Click On Any (I'm selecting "Welcome to the Nextcloud forums")
  3. Sign in or Sign up in your account.
  4. Click Reply..
  5. 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

The original report as published on HackerOne, by lulliii. 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 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

  1. Go to the Nextcloud help forum.
  2. Open any discussion thread.
  3. Sign in or create an account.
  4. Click Reply.
  5. Paste a crafted HTML payload into the reply box.
  6. 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.

More by lulliii

View all

7 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.