# CVE-2024-29881: TinyMCE Cross-Site Scripting (XSS) vulnerability in handling external SVG files through Object or Embed elements

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-03-26T13:31:15.375Z
- Modified: 2026-09-10T03:50:10.436Z
- Also known as: GHSA-5359-pvf2-pw78
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

TinyMCE is an open source rich text editor.  A cross-site scripting (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. This vulnerability is fixed in 6.8.1 and 7.0.0.

(As written by CVE List.)

## Affected

- tinymce tinymce: < 7.0.0
- tinymce/tinymce (Packagist): before 7.0.0
- tinymce (npm): before 7.0.0
- TinyMCE (NuGet): before 7.0.0
- tiny tinymce: before 6.8.1; from 6.8.2 before 7.0.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/tinymce/tinymce/security/advisories/GHSA-5359-pvf2-pw78> (vendor-advisory, web)
- <https://github.com/tinymce/tinymce/commit/bcdea2ad14e3c2cea40743fb48c63bba067ae6d1> (patch, web)
- <https://www.tiny.cloud/docs/tinymce/6/6.8.1-release-notes/#new-convert_unsafe_embeds-option-that-controls-whether-object-and-embed-elements-will-be-converted-to-more-restrictive-alternatives-namely-img-for-image-mime-types-video-for-video-mime-types-audio-audio-mime-types-or-iframe-for-other-or-unspecified-mime-types> (release-notes, web)
- <https://www.tiny.cloud/docs/tinymce/7/7.0-release-notes/#convert_unsafe_embeds-editor-option-is-now-defaulted-to-true> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29881> (advisory)
- <https://github.com/tinymce/tinymce> (package)

## Sources

- CVE List: [CVE-2024-29881](https://www.cve.org/CVERecord?id=CVE-2024-29881), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-5359-pvf2-pw78](https://github.com/advisories/GHSA-5359-pvf2-pw78), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-29881](https://nvd.nist.gov/vuln/detail/CVE-2024-29881), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29881 · Whole record: https://cve.day/CVE-2024-29881.json · Rebuilt by cve.day 2026-11-25T22:58:37.903Z
