CVE-2021-37916
JavaScript vulnerability analysis and mitigation

Overview

Joplin before version 2.0.9 contained a Cross-Site Scripting (XSS) vulnerability that allowed attackers to execute malicious code via button and form elements in the note body (Joplin Release, NVD). The vulnerability was discovered and reported in August 2021, affecting all versions of Joplin prior to the 2.0.9 release.

Technical details

The vulnerability existed due to insufficient filtering of HTML form elements in the note body. The application did not properly sanitize button and form elements, which could be exploited to inject malicious code. The fix involved adding additional HTML elements to the disallowedTags list, including 'button', 'form', 'input', 'select', 'textarea', 'option', and 'optgroup' (Joplin Commit).

Impact

The XSS vulnerability could allow attackers to execute arbitrary web script code in the context of the user's browser session. This could potentially lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the authenticated user.

Mitigation and workarounds

The vulnerability was fixed in Joplin version 2.0.9 by adding form-related elements to the disallowedTags list in the HTML sanitization process. Users should upgrade to version 2.0.9 or later to protect against this vulnerability (Joplin Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management