GHSA-jxcx-3h54-qqxx: Silverstripe/admin Cross-Site Scripting Vulnerability
MODERATEGHSA-jxcx-3h54-qqxx is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Silverstripe/admin libraries in the Packagist ecosystem. The issue involves silverstripe cms cross-site scripting vulnerabilities inherited from tinymce. Remediation is available by upgrading affected packages to version 1.13.6.
GHSA-jxcx-3h54-qqxx at a Glance
How to Fix GHSA-jxcx-3h54-qqxx
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-jxcx-3h54-qqxx, 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 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. 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-jxcx-3h54-qqxx Affected Silverstripe/admin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/admin
|
Packagist |
≥ 1.0.0
< 1.13.6
|
1.13.6
|
References
Frequently Asked Questions
What is GHSA-jxcx-3h54-qqxx?
Which Silverstripe/admin versions are affected?
What version fixes GHSA-jxcx-3h54-qqxx?
Is silverstripe/admin affected?
What CWE is associated with GHSA-jxcx-3h54-qqxx?
How can I check Packagist dependencies for GHSA-jxcx-3h54-qqxx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jxcx-3h54-qqxx",
"modified" : "2023-08-23T19:43:56Z",
"published" : "2023-08-23T19:43:56Z",
"aliases" : [ ],
"summary" : "SilverStripe CMS Cross-site Scripting 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 these vulnerabilities. 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 these vulnerabilities because it uses TinyMCE 6.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/admin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.13.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/admin/SS-2023-002.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-admin"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/SS-2023-002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-23T19:43:56Z",
"nvd_published_at" : null
}
}