ghsa-hgqx-r2hp-jr38
Vulnerability from github
Impact
A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s Notification Manager API. The vulnerability exploits TinyMCE's unfiltered notification system, which is used in error handling. The conditions for this exploit requires carefully crafted malicious content to have been inserted into the editor and a notification to have been triggered.
When a notification was opened, the HTML within the text argument was displayed unfiltered in the notification. The vulnerability allowed arbitrary JavaScript execution when an notification presented in the TinyMCE UI for the current user. This issue could also be exploited by any integration which uses a TinyMCE notification to display unfiltered HTML content.
Patches
This vulnerability has been patched in TinyMCE 5.10.8 and TinyMCE 6.7.1 by ensuring that the HTML displayed in the notification is sanitized, preventing the exploit.
Fix
To avoid this vulnerability:
- Upgrade to TinyMCE 5.10.8 or higher for TinyMCE 5.x.
- Upgrade to TinyMCE 6.7.1 or higher for TinyMCE 6.x.
References
- https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes
- https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes
For more information
If you have any questions or comments about this advisory: * Email us at infosec@tiny.cloud * Open an issue in the TinyMCE repo
{ "affected": [ { "package": { "ecosystem": "npm", "name": "tinymce" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.7.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "NuGet", "name": "TinyMCE" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.7.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "tinymce/tinymce" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.7.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "tinymce" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.10.8" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "NuGet", "name": "TinyMCE" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.10.8" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "tinymce/tinymce" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.10.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-45819" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2023-10-19T16:42:57Z", "nvd_published_at": "2023-10-19T22:15:11Z", "severity": "MODERATE" }, "details": "### Impact\nA [cross-site scripting (XSS)](https://owasp.org/www-community/attacks/xss/) vulnerability was discovered in TinyMCE\u2019s Notification Manager API. The vulnerability exploits TinyMCE\u0027s unfiltered notification system, which is used in error handling. The conditions for this exploit requires carefully crafted malicious content to have been inserted into the editor and a notification to have been triggered. \n\nWhen a notification was opened, the HTML within the text argument was displayed unfiltered in the notification. The vulnerability allowed arbitrary JavaScript execution when an notification presented in the TinyMCE UI for the current user. This issue could also be exploited by any integration which uses a TinyMCE notification to display unfiltered HTML content.\n\n### Patches\nThis vulnerability has been patched in TinyMCE 5.10.8 and TinyMCE 6.7.1 by ensuring that the HTML displayed in the notification is sanitized, preventing the exploit.\n\n### Fix\nTo avoid this vulnerability:\n\n* Upgrade to TinyMCE 5.10.8 or higher for TinyMCE 5.x.\n* Upgrade to TinyMCE 6.7.1 or higher for TinyMCE 6.x.\n\n### References\n* \u003chttps://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes\u003e\n* \u003chttps://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes\u003e\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at \u003cinfosec@tiny.cloud\u003e\n* Open an issue in the [TinyMCE repo](https://github.com/tinymce/tinymce/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)\n", "id": "GHSA-hgqx-r2hp-jr38", "modified": "2023-10-20T16:17:07Z", "published": "2023-10-19T16:42:57Z", "references": [ { "type": "WEB", "url": "https://github.com/tinymce/tinymce/security/advisories/GHSA-hgqx-r2hp-jr38" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45819" }, { "type": "PACKAGE", "url": "https://github.com/tinymce/tinymce" }, { "type": "WEB", "url": "https://tiny.cloud/docs/release-notes/release-notes5108/#securityfixes" }, { "type": "WEB", "url": "https://tiny.cloud/docs/tinymce/6/6.7.1-release-notes/#security-fixes" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "TinyMCE XSS vulnerability in notificationManager.open API" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.