Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm.NET NuGet🐘 Packagist
Not in CISA KEV
MEDIUM severity

Cross-site scripting vulnerability in TinyMCEGHSA-5h9g-x5rv-25wg

MEDIUM

GHSA-5h9g-x5rv-25wg is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in tinymce. 2 public exploit references exist, so weaponization risk is real. A fix is available for tinymce — see the affected versions and patch details below.

Also known asCVE-2024-21908
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
2 known
Exploitation data as of Oct 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-5h9g-x5rv-25wg.

EPSS Exploitation Probability

via FIRST.org ↗
1.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs64th percentile — riskier than 64% of all scored CVEsHighest risk
0.00%0.52%1.04%1.57%0.4%1.1%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-5h9g-x5rv-25wg by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
tinymcenpm
883Kdownloads / week

Description

Impact

A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed. This impacts all users who are using TinyMCE 5.8.2 or lower.

Patches

This vulnerability has been patched in TinyMCE 5.9.0 by ensuring schema validation was still performed after unwrapping invalid elements.

Workarounds

To work around this vulnerability, either:

  • Upgrade to TinyMCE 5.9.0 or higher
  • Manually sanitize the content using the BeforeSetContent event (see below)

Example: Manually sanitize content

editor.on('BeforeSetContent', function(e) {
  var sanitizedContent = ...; // Manually sanitize content here
  e.content = sanitizedContent;
});

Acknowledgements

Tiny Technologies would like to thank William Bowling for discovering this vulnerability.

References

https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes

For more information

If you have any questions or comments about this advisory:

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmtinymceall versions5.9.0npm install tinymce@5.9.0
.NETNuGetTinyMCEall versions5.9.0dotnet add package TinyMCE --version 5.9.0
🐘Packagisttinymce/tinymceall versions5.9.0composer require tinymce/tinymce:^5.9.0

Affected Products

1 product · 1 configurations
Application
tinymcetiny
< 5.9.0
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tinymce, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update tinymce to 5.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5h9g-x5rv-25wg is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Impact A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed. This impacts all users who are using TinyMCE 5.8.2 or lower. ### Patches This vulnerability has been patched in TinyMCE 5.9.0 by ensuring schema validation was still performed after unwrappi
O3 Security · Impact-Aware SCA

Is GHSA-5h9g-x5rv-25wg in your dependencies?

Find it across npm, NuGet, Packagist, including transitive dependencies.

Cross-site scripting vulnerability in TinyMCE (Medium 6.1)