Vulnerability DatabaseGHSA-5vm8-hhgr-jcjp

GHSA-5vm8-hhgr-jcjp
JavaScript vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability (GHSA-5vm8-hhgr-jcjp) was discovered in TinyMCE versions prior to 5.7.1. The vulnerability was identified in May 2021 and affects the URL sanitization logic of the core parser for form elements. The issue was discovered by Mikhail Khramenkov at Solar Security Research Team and was assigned a moderate severity rating (GitHub Advisory).

Technical details

The vulnerability exists in the URL sanitization logic of the core parser for form elements. It enables arbitrary JavaScript execution when a specially crafted piece of content is inserted into the editor using either the clipboard or APIs, followed by form submission. Notably, since TinyMCE prevents form submission during editing, the vulnerability can only be triggered when content is previewed or rendered outside of the editor (GitHub Advisory).

Impact

The vulnerability affects all users running TinyMCE version 5.7.0 or lower. When exploited, it could allow attackers to execute arbitrary JavaScript code through specially crafted content, particularly when content is previewed or rendered outside the editor environment (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TinyMCE 5.7.1 through improved URL sanitization logic. For users unable to upgrade immediately, alternative workarounds include manually sanitizing form URL attributes using a TinyMCE node filter or disabling form elements in content using the invalid_elements setting. Example workaround code is provided in the advisory for both approaches (GitHub Advisory).

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