tinymce

Ecosystem: npm

Downloads: 4.74 Mln

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 6HighAffects 14 versions
  • 0MediumAffects 0 versions
  • 18ModerateAffects 29 versions
  • 1LowAffects 1 version
Severity distribution (all time)
25vulnerabilities
  • Critical0 (0.0%)
  • High6 (24.0%)
  • Medium0 (0.0%)
  • Moderate18 (72.0%)
  • Low1 (4.0%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 4 vulnerabilities
    • Critical: 0
    • High: 4
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 3 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 3
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 1
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (25)

Known vulnerabilities affecting tinymce, based on data from OSV.

Vulnerabilities affecting tinymce
IDSeveritySummaryAffected versionsPublishedSource
GHSA-mf2p-h6hf-fcwmHighTinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization### Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via elements crafted through the data-mce-object attribute, which are created and executed before sanitization. Impacts users of TinyMCE with the media plugin enabled. ### Patches This vulnerability has been patched in TinyMCE 8.9.3 and TinyMCE 7.9.4 by ensuring that, when using the media plugin, any content created through the data-mce-object attribute is properly sanitized first. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.9.3 or
  • >= 8.5.1, < 8.9.3
  • >= 7.9.3, < 7.9.4
GitHub (opens in a new tab)
GHSA-mh5m-5hw4-5c69HighTinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs### Impact TinyMCE 6.8.x contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested <svg> elements can bypass attribute sanitization and execute arbitrary JavaScript. ### Patches This issue affects TinyMCE 6.8.x-7.0.x. The vulnerability is fixed in TinyMCE 7.1.0 and later. ### Workarounds No official workaround available. ### Acknowledgements Tiny thanks [maple3142](https://github.com/maple3142) (<https://maple3142.net>) of DEVCORE for their help identifying this vulnerability. ### References Fix introduced in TinyMCE 7.1.
  • >= 6.8.0, < 7.1.0
GitHub (opens in a new tab)
GHSA-q742-qvgc-gc2fHighTinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes### Impact Stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. ### Patches Patched by stripping unsafe data-mce-* attributes during parsing. Users should upgrade to the latest patched versions (5 LTS, 7.x, 8.x). ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.5.1 or higher. Upgrade to TinyMCE 7.9.3 or higher. Upgrade to TinyMCE 5.11.1 LTS or higher for TinyM
  • <= 5.10.9
  • >= 6.0.0, < 7.9.3
  • >= 8.0.0, < 8.5.1
GitHub (opens in a new tab)
GHSA-v98h-vmpc-fpqvHighTinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments### Impact Stored XSS vulnerability via forged mce:protected comments. Allows attackers to bypass sanitization and inject scripts that execute when content is restored. Impacts users who utilize the protect option. ### Patches Patched by validating decoded mce:protected content against configured protect regex rules before restoring. Users should upgrade to the latest patched version. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.5.1 or higher. Upgrade to TinyMCE 7.9.3 or higher. Upgrade to TinyMCE 5.11.1 LTS or higher for TinyM
  • <= 5.10.9
  • >= 6.0.0, < 7.9.3
  • >= 8.0.0, < 8.5.1
GitHub (opens in a new tab)
GHSA-vg35-5wq7-3x7wHighTinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection### Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted `data-mce-*` attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. ### Patches This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with `data-mce-object` and `data-mce-p-*` attributes are properly sanitized. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: - Upgrade to TinyMCE 8.5.1 or higher
  • <= 5.10.9
  • >= 6.0.0, < 7.9.3
  • >= 8.0.0, < 8.5.1
GitHub (opens in a new tab)
GHSA-9hcv-j9pv-qmphModerateTinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. ### Patches This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before bei
  • < 5.11.0
  • >= 6.0.0, < 6.8.4
  • >= 7.0.0, < 7.2.0
GitHub (opens in a new tab)
GHSA-w9jx-4g6g-rp7xModerateTinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor. ### Patches This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed. ### Fix To avoid this vulnerability: * Upgrade to TinyMCE 7.2.0 or higher. * Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x. * Upgr
  • < 5.11.0
  • >= 6.0.0, < 6.8.4
  • >= 7.0.0, < 7.2.0
GitHub (opens in a new tab)
GHSA-438c-3975-5x3fModerateTinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content insertion code. This allowed `iframe` elements containing malicious code to execute when inserted into the editor. These `iframe` elements are restricted in their permissions by same-origin browser protections, but could still trigger operations such as downloading of malicious assets. ### Fix TinyMCE 6.8.1 introduced a new `sandbox_iframes` boolean option which adds the `sandbox=""` attribute to every `iframe` element by default when enabled. This will p
  • < 6.8.1
GitHub (opens in a new tab)
GHSA-5359-pvf2-pw78ModerateTinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content loading and content inserting code. A SVG image could be loaded though an `object` or `embed` element and that image could potentially contain a XSS payload. ### Fix TinyMCE 6.8.1 introduced a new `convert_unsafe_embeds` option to automatically convert `object` and `embed` elements respective of their `type` attribute. From TinyMCE 7.0.0 onwards, the `convert_unsafe_embeds` option is enabled by default. ### Workarounds If you are using TinyMCE 6.8.1 or hi
  • < 7.0.0
GitHub (opens in a new tab)
GHSA-gjhc-6xm7-mc8qModerateDuplicate Advisory: Cross-site scripting vulnerability in TinyMCE### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5h9g-x5rv-25wg. This link is maintained to preserve external references. ### Original Description 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.
  • < 5.9.0
GitHub (opens in a new tab)
  • GHSA-mf2p-h6hf-fcwmHigh
    TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization
    • >= 8.5.1, < 8.9.3
    • >= 7.9.3, < 7.9.4

    ### Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via elements crafted through the data-mce-object attribute, which are created and executed before sanitization. Impacts users of TinyMCE with the media plugin enabled. ### Patches This vulnerability has been patched in TinyMCE 8.9.3 and TinyMCE 7.9.4 by ensuring that, when using the media plugin, any content created through the data-mce-object attribute is properly sanitized first. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.9.3 or

    CVE: CVE-2026-116675

  • GHSA-mh5m-5hw4-5c69High
    TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs
    • >= 6.8.0, < 7.1.0

    ### Impact TinyMCE 6.8.x contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested <svg> elements can bypass attribute sanitization and execute arbitrary JavaScript. ### Patches This issue affects TinyMCE 6.8.x-7.0.x. The vulnerability is fixed in TinyMCE 7.1.0 and later. ### Workarounds No official workaround available. ### Acknowledgements Tiny thanks [maple3142](https://github.com/maple3142) (<https://maple3142.net>) of DEVCORE for their help identifying this vulnerability. ### References Fix introduced in TinyMCE 7.1.

    CVE: CVE-2026-47760

  • GHSA-q742-qvgc-gc2fHigh
    TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • +1 more
    Affected versions:
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • >= 8.0.0, < 8.5.1

    ### Impact Stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. ### Patches Patched by stripping unsafe data-mce-* attributes during parsing. Users should upgrade to the latest patched versions (5 LTS, 7.x, 8.x). ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.5.1 or higher. Upgrade to TinyMCE 7.9.3 or higher. Upgrade to TinyMCE 5.11.1 LTS or higher for TinyM

    CVE: CVE-2026-47759

  • GHSA-v98h-vmpc-fpqvHigh
    TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • +1 more
    Affected versions:
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • >= 8.0.0, < 8.5.1

    ### Impact Stored XSS vulnerability via forged mce:protected comments. Allows attackers to bypass sanitization and inject scripts that execute when content is restored. Impacts users who utilize the protect option. ### Patches Patched by validating decoded mce:protected content against configured protect regex rules before restoring. Users should upgrade to the latest patched version. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: Upgrade to TinyMCE 8.5.1 or higher. Upgrade to TinyMCE 7.9.3 or higher. Upgrade to TinyMCE 5.11.1 LTS or higher for TinyM

    CVE: CVE-2026-47762

  • GHSA-vg35-5wq7-3x7wHigh
    TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • +1 more
    Affected versions:
    • <= 5.10.9
    • >= 6.0.0, < 7.9.3
    • >= 8.0.0, < 8.5.1

    ### Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted `data-mce-*` attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. ### Patches This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with `data-mce-object` and `data-mce-p-*` attributes are properly sanitized. ### Workarounds No official workaround available. ### Fix To avoid this vulnerability: - Upgrade to TinyMCE 8.5.1 or higher

    CVE: CVE-2026-47761

  • GHSA-9hcv-j9pv-qmphModerate
    TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
    • < 5.11.0
    • >= 6.0.0, < 6.8.4
    • +1 more
    Affected versions:
    • < 5.11.0
    • >= 6.0.0, < 6.8.4
    • >= 7.0.0, < 7.2.0

    ### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor. ### Patches This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before bei

    CVE: CVE-2024-38356

  • GHSA-w9jx-4g6g-rp7xModerate
    TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements
    • < 5.11.0
    • >= 6.0.0, < 6.8.4
    • +1 more
    Affected versions:
    • < 5.11.0
    • >= 6.0.0, < 6.8.4
    • >= 7.0.0, < 7.2.0

    ### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor. ### Patches This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed. ### Fix To avoid this vulnerability: * Upgrade to TinyMCE 7.2.0 or higher. * Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x. * Upgr

    CVE: CVE-2024-38357

  • GHSA-438c-3975-5x3fModerate
    TinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes
    • < 6.8.1

    ### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content insertion code. This allowed `iframe` elements containing malicious code to execute when inserted into the editor. These `iframe` elements are restricted in their permissions by same-origin browser protections, but could still trigger operations such as downloading of malicious assets. ### Fix TinyMCE 6.8.1 introduced a new `sandbox_iframes` boolean option which adds the `sandbox=""` attribute to every `iframe` element by default when enabled. This will p

    CVE: CVE-2024-29203

  • GHSA-5359-pvf2-pw78Moderate
    TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements
    • < 7.0.0

    ### Impact A [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE’s content loading and content inserting code. A SVG image could be loaded though an `object` or `embed` element and that image could potentially contain a XSS payload. ### Fix TinyMCE 6.8.1 introduced a new `convert_unsafe_embeds` option to automatically convert `object` and `embed` elements respective of their `type` attribute. From TinyMCE 7.0.0 onwards, the `convert_unsafe_embeds` option is enabled by default. ### Workarounds If you are using TinyMCE 6.8.1 or hi

    CVE: CVE-2024-29881

  • GHSA-gjhc-6xm7-mc8qModerate
    Duplicate Advisory: Cross-site scripting vulnerability in TinyMCE
    • < 5.9.0

    ### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5h9g-x5rv-25wg. This link is maintained to preserve external references. ### Original Description 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.

Showing 1-10 of 25 vulnerabilities