GHSA-wqm8-jx8r-8rcq: Silverstripe/admin Cross-Site Scripting Vulnerability
MODERATEGHSA-wqm8-jx8r-8rcq is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (General Security Weakness) affecting Silverstripe/admin libraries in the Packagist ecosystem. The issue involves cross-site scripting vulnerabilities in old version of bundled tinymce. Remediation is available by upgrading affected packages to version 1.12.7.
GHSA-wqm8-jx8r-8rcq at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N).
How to Fix GHSA-wqm8-jx8r-8rcq
To remediate this vulnerability, upgrade all affected Silverstripe/admin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade silverstripe/admin to 1.12.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/admin
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wqm8-jx8r-8rcq, inspect your project dependencies for Silverstripe/admin:
inspect dependencies for silverstripe/admin
Analyze the terminal output to locate any version of Silverstripe/admin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Silverstripe/admin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-wqm8-jx8r-8rcq Affected Silverstripe/admin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/admin
|
Packagist |
< 1.12.7
|
1.12.7
|
References
Frequently Asked Questions
What is GHSA-wqm8-jx8r-8rcq?
Which Silverstripe/admin versions are affected?
What version fixes GHSA-wqm8-jx8r-8rcq?
Is silverstripe/admin affected?
What is the CVSS score of GHSA-wqm8-jx8r-8rcq?
What CWE is associated with GHSA-wqm8-jx8r-8rcq?
How can I check Packagist dependencies for GHSA-wqm8-jx8r-8rcq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wqm8-jx8r-8rcq",
"modified" : "2023-04-26T15:54:44Z",
"published" : "2023-04-26T15:54:44Z",
"aliases" : [ ],
"summary" : "Cross-site scripting vulnerabilities in old version of bundled TinyMCE",
"details" : "An old version of TinyMCE include an XSS vulnerability, which was patched in a later version. This was described by TinyMCE:\n\n> 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.\n\nWe 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.\n\nReported by: Developers at ACC",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-admin/security/advisories/GHSA-wqm8-jx8r-8rcq"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/admin/SS-2023-001.yaml"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-vrv8-v4w8-f95h"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-admin"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/ss-2023-001"
}, {
"type" : "WEB",
"url" : "https://www.tiny.cloud/docs/release-notes/release-notes54/#securityfixes"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-26T15:54:44Z",
"nvd_published_at" : null
}
}