Cross-site scripting vulnerabilities in old version of bundled TinyMCE
Published 26 Apr 2023 · Updated 4 Dec 2024
Affected package
- Affected
- <1.12.7
- Fixed in
- 1.12.7
composer require silverstripe/admin:^1.12.7Details
An old version of TinyMCE include an XSS vulnerability, which was patched in a later version. This was described by TinyMCE:
> A cross-site scripting (XSS) vulnerability was discovered in the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.10 or lower and TinyMCE 5.4.0 or lower.
We reviewed the potential impact of this vulnerability within the context of Silverstripe CMS. We concluded this is a medium impact vulnerability given how TinyMCE is used by Silverstripe CMS.
Reported by: Developers at ACC
Is GHSA-wqm8-jx8r-8rcq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/admin, and gives you the command that fixes it.
References
- Linkgithub.com/silverstripe/silverstripe-admin/security/advisories/GHSA-wqm8-jx8r-8rcq
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/admin/SS-2023-001.yaml
- Advisorygithub.com/advisories/GHSA-vrv8-v4w8-f95h
- Packagegithub.com/silverstripe/silverstripe-admin
- Linkwww.silverstripe.org/download/security-releases/ss-2023-001
- Linkwww.tiny.cloud/docs/release-notes/release-notes54/#securityfixes
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.