SecurityContext

CVE-2023-38506: Joplin - Stored XSS

  • Cve: CVE-2023-38506
  • Name: Joplin - Stored XSS
  • Description: Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows pasting untrusted data into the rich text editor to execute arbitrary code. HTML pasted into the rich text editor is not sanitized (or not sanitized properly). As such, the `onload` attribute of pasted images can execute arbitrary code. Because the TinyMCE editor frame does not use the `sandbox` attribute, such scripts can access NodeJS's `require` through the `top` variable. From this, an attacker can run arbitrary commands. This issue has been addressed in version 2.12.10 and users are advised to upgrade. There are no known workarounds for this vulnerability.
  • Impact: Attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Upgrade to version 2.12.10 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to paste untrusted HTML into the editor.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00422
  • Epss percentile: 0.36984
  • Assignee: [email protected]
  • Published at: 2024-06-21T20:15:12Z
  • Age in days: 886
  • Modified at: 2026-06-17T06:10:36Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-38506
  • Nvd status: analyzed
  • 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://github.com/laurent22/joplin/security/advisories/GHSA-m59c-9rrj-c399nvd2024-06-21

References

UrlSourceTags
https://github.com/laurent22/joplin/security/advisories/GHSA-m59c-9rrj-c399nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
joplin_project:joplin< 2.12.10nonvd/v1/products/joplin_project/joplin

Projects

RepositoryLink kindsIndexedUrl
laurent22/joplinsecurity_advisoryyes/v1/repositories/laurent22/joplin

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-21
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 31
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports