GHSA-4q66-g4mm-8rg5: Silverstripe/admin Cross-Site Scripting Vulnerability
MODERATEGHSA-4q66-g4mm-8rg5 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (General Security Weakness) affecting Silverstripe/admin libraries in the Packagist ecosystem. The issue involves silverstripe has cross-site scripting (xss) vulnerabilities inherited from tinymce. Remediation is available by upgrading affected packages to version 1.13.6.
GHSA-4q66-g4mm-8rg5 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-4q66-g4mm-8rg5
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.13.6
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-4q66-g4mm-8rg5, 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.13.6), 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-4q66-g4mm-8rg5 Affected Silverstripe/admin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/admin
|
Packagist |
< 1.13.6
|
1.13.6
|
References
Frequently Asked Questions
What is GHSA-4q66-g4mm-8rg5?
Which Silverstripe/admin versions are affected?
What version fixes GHSA-4q66-g4mm-8rg5?
Is silverstripe/admin affected?
What is the CVSS score of GHSA-4q66-g4mm-8rg5?
What CWE is associated with GHSA-4q66-g4mm-8rg5?
How can I check Packagist dependencies for GHSA-4q66-g4mm-8rg5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4q66-g4mm-8rg5",
"modified" : "2023-07-31T22:02:35Z",
"published" : "2023-07-31T22:02:35Z",
"aliases" : [ ],
"summary" : "Silverstripe has Cross-site Scripting (XSS) vulnerabilities inherited from TinyMCE",
"details" : "TinyMCE 4.x is vulnerable to several XSS vectors, which had been patched in later versions. Two of these have been identified as affecting `silverstripe/admin`.\n\nOnly Silverstripe CMS 4 is affected by this issue. It's not possible to upgrade Silverstripe CMS 4 to use a more recent release of TinyMCE without introducing breaking changes. Instead, the security patches that shipped in later releases of TinyMCE have been backported to the TinyMCE version bundled in `silverstripe/admin`.\n\nSilverstripe CMS 5 is not affected by those vulnerabilities because it uses TinyMCE 6.\n\nYou can find more information about the underlying vulnerabilities in those GitHub security advisories:\n\n- [GHSA-5h9g-x5rv-25wg Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-5h9g-x5rv-25wg)\n- [GHSA-w7jx-j77m-wp65 Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-w7jx-j77m-wp65)",
"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.13.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-admin/security/advisories/GHSA-4q66-g4mm-8rg5"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-admin/commit/cafc1c4de58f1553b019dc2f8a62f835cabdbeb2"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-5h9g-x5rv-25wg"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-w7jx-j77m-wp65"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-admin"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-31T22:02:35Z",
"nvd_published_at" : null
}
}