Advisory

GHSA-mh5m-5hw4-5c69

Also known as: CVE-2026-47760

Summary

TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs

Details

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://maple3142.net) of DEVCORE for their help identifying this vulnerability.

References
Fix introduced in TinyMCE 7.1.0 though a rewrite of code causing the vulnerability.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-05 20:09 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

tinymce

npm · All systems

Affected

  • introduced 6.8.0, fixed 7.1.0 (semver)

Fixed versions

7.1.0

Fix

TinyMCE

NuGet · All systems

Affected

  • introduced 6.8.0, fixed 7.1.0 (ecosystem)

Fixed versions

7.1.0

Fix

The export has no generic command for this ecosystem.

tinymce/tinymce

Packagist · All systems

Affected

  • introduced 6.8.0, fixed 7.1.0 (ecosystem)

Fixed versions

7.1.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences