HexBrain

Reddit · Report #1504410

XSS via Mod Log Removed Posts

Validstatus
highseverity
218upvotes
10 Mar 2022disclosed

How it was found

Summary:

I have discovered an XSS vulnerability regarding the mod notes feature. Specifically, the XSS payload executes when the victim removes a post in a subreddit and opens up the mod notes of the attacker.

Steps To Reproduce:

  1. The attacker creates a new post with the title containing the XSS payload.
  2. The victim (mods of the subreddit) then must remove your post.
  3. The payload executes when a victim (subreddit mod) opens up your mod notes. Sometimes, the mod notes are displayed when the victim hovers on your profile (this is true when a recent mod action has been taken on the user).

Supporting Material/References:

█████ █████

Impact

Impact Below:

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original