---
id: CVE-2024-21908
title: >-
  TinyMCE versions before 5.9.0 are affected by a stored cross-site scripting
  vulnerability
summary: >-
  TinyMCE versions before 5.9.0 are affected by a stored cross-site scripting
  vulnerability. An unauthenticated and remote attacker could insert crafted
  HTML into the editor resulting in arbitrary JavaScript execution in another
  user's bro…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
  - CWE-79
vendor: tiny
product: tinymce
affected:
  - tinymce < 5.9.0
patched:
  - tinymce 5.9.0
published: '2024-01-03'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-21908'
references:
  - url: 'https://github.com/advisories/GHSA-5h9g-x5rv-25wg'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/tinymce/tinymce/security/advisories/GHSA-5h9g-x5rv-25wg'
    label: disclosure@vulncheck.com
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-5h9g-x5rv-25wg'
    label: disclosure@vulncheck.com
  - url: 'https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/advisories/GHSA-5h9g-x5rv-25wg'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/tinymce/tinymce/security/advisories/GHSA-5h9g-x5rv-25wg'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-5h9g-x5rv-25wg'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01066
epssPercentile: 0.63243
ingestedAt: '2026-07-14T23:40:04.483Z'
---

## Overview

TinyMCE versions before 5.9.0 are affected by a stored cross-site scripting vulnerability. An unauthenticated and remote attacker could insert crafted HTML into the editor resulting in arbitrary JavaScript execution in another user's browser.

## Affected

- `tinymce < 5.9.0`

## Remediation

Upgrade past the affected range:

- `tinymce 5.9.0`
