SecurityContext

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

  • Cve: CVE-2022-3127
  • Name: jgraph/drawio - Stored XSS
  • Description: Cross-site Scripting (XSS) - Stored in GitHub repository jgraph/drawio prior to 20.2.8.
  • Impact: Attackers can execute malicious scripts in victims' browsers, potentially stealing cookies, session tokens, or performing actions on behalf of victims.
  • Remediation: Update to version 20.2.8 or later to fix the vulnerability.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Epss score: 0.00658
  • Epss percentile: 0.52446
  • Assignee: [email protected]
  • Published at: 2022-09-05T13:15:08Z
  • Age in days: 1541
  • Modified at: 2026-06-17T04:58:55Z
  • 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-3127
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/6cea89d1-39dc-4023-82fa-821f566b841anvd2022-09-05

References

UrlSourceTags
https://github.com/jgraph/drawio/commit/59887e45b36f06c8dd4919a32bacd994d9f084danvdPatch, Third Party Advisory
https://huntr.dev/bounties/6cea89d1-39dc-4023-82fa-821f566b841anvdExploit, Patch, Third Party Advisory

Products

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

Projects

RepositoryLink kindsIndexedUrl
jgraph/drawiocommit, fixyes/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-09-05
  • 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