GHSA-c4c3-j73v-634r: Silverstripe/framework Cross-Site Scripting Vulnerability
MODERATEGHSA-c4c3-j73v-634r is a MODERATE cross-site scripting vulnerability (General Security Weakness) affecting Silverstripe/framework libraries in the Packagist ecosystem. The issue involves silverstripe/framework has cross-site scripting vulnerability in page history comparison. Remediation is available by upgrading affected packages to version 3.4.6, 3.5.4.
GHSA-c4c3-j73v-634r at a Glance
How to Fix GHSA-c4c3-j73v-634r
To remediate this vulnerability, upgrade all affected Silverstripe/framework 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/framework to 3.4.6
Upgrade silverstripe/framework to 3.5.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/framework
How to Check if You Are Affected
To determine whether your application is affected by GHSA-c4c3-j73v-634r, inspect your project dependencies for Silverstripe/framework:
inspect dependencies for silverstripe/framework
Analyze the terminal output to locate any version of Silverstripe/framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.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/framework, 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-c4c3-j73v-634r Affected Silverstripe/framework Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/framework
|
Packagist |
≥ 3.4.0-rc1
< 3.4.6
|
3.4.6
|
|
silverstripe/framework
|
Packagist |
≥ 3.5.0-rc1
< 3.5.4
|
3.5.4
|
References
Frequently Asked Questions
What is GHSA-c4c3-j73v-634r?
Which Silverstripe/framework versions are affected?
What version fixes GHSA-c4c3-j73v-634r?
Is silverstripe/framework affected?
What CWE is associated with GHSA-c4c3-j73v-634r?
How can I check Packagist dependencies for GHSA-c4c3-j73v-634r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c4c3-j73v-634r",
"modified" : "2024-05-27T20:31:59Z",
"published" : "2024-05-27T20:31:59Z",
"aliases" : [ ],
"summary" : "silverstripe/framework has Cross-site Scripting vulnerability in page history comparison",
"details" : "Authenticated user with page edit permission can craft HTML, which when rendered in a page history comparison can execute client scripts.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0-rc1"
}, {
"fixed" : "3.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.5.0-rc1"
}, {
"fixed" : "3.5.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-framework/commit/2b72c0f73b668ddf7c059319da915a6c08652278"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-004-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-framework"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/ss-2017-004"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-27T20:31:59Z",
"nvd_published_at" : null
}
}