SecurityContext

CVE-2022-3873: jgraph/drawio - Stored XSS

  • Cve: CVE-2022-3873
  • Name: jgraph/drawio - Stored XSS
  • Description: Cross-site Scripting (XSS) - DOM in GitHub repository jgraph/drawio prior to 20.5.2.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or data theft.
  • Remediation: Update to version 20.5.2 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to load malicious content
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00912
  • Epss percentile: 0.60925
  • Assignee: [email protected]
  • Published at: 2022-11-07T11:15:10Z
  • Age in days: 1478
  • Modified at: 2026-06-17T05:00:28Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-3873
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/52a4085e-b687-489b-9ed6-f0987583ed77nvd2022-11-07

References

UrlSourceTags
https://github.com/jgraph/drawio/commit/d37894baf125430e85840c2635563b10d1a6523dnvdPatch, Third Party Advisory
https://huntr.dev/bounties/52a4085e-b687-489b-9ed6-f0987583ed77nvdExploit, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
diagrams:drawio< 20.5.2nonvd/v1/products/diagrams/drawio

Projects

RepositoryLink kindsIndexedUrl
jgraph/drawiocommityes/v1/repositories/jgraph/drawio

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-11-07
  • Remote: yes
  • Exposed hosts: 1741
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports