silverstripe/framework has Cross-site Scripting vulnerability in CMSSecurity BackURL
The advisory, in context
In follow up to SS-2016-001 there is yet a minor unresolved fix to incorrectly encoded URL.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 3.1.0-rc1 before 3.1.21
Fixed in 3.1.21
47 explicitly affected versions
3.1.0, 3.1.0-rc1, 3.1.0-rc2, 3.1.0-rc3, 3.1.1, 3.1.10, 3.1.10-rc1, 3.1.10-rc2, 3.1.11, 3.1.11-rc1, 3.1.12, 3.1.13, 3.1.13-rc1, 3.1.14, 3.1.14-rc1, 3.1.15, 3.1.16, 3.1.16-rc1, 3.1.17, 3.1.17-rc1, 3.1.17-rc2, 3.1.18, 3.1.18-rc1, 3.1.18-rc2, 3.1.19, 3.1.19-rc1, 3.1.2, 3.1.2-rc1, 3.1.20, 3.1.20-rc1, 3.1.20-rc2, 3.1.3, 3.1.3-rc1, 3.1.3-rc2, 3.1.4, 3.1.4-rc1, 3.1.5, 3.1.5-rc1, 3.1.6, 3.1.6-rc1, 3.1.6-rc2, 3.1.6-rc3, 3.1.7, 3.1.7-rc1, 3.1.8, 3.1.9, 3.1.9-rc1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.1.0-rc1"
},
{
"fixed": "3.1.21"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.0",
"3.1.0-rc1",
"3.1.0-rc2",
"3.1.0-rc3",
"3.1.1",
"3.1.10",
"3.1.10-rc1",
"3.1.10-rc2",
"3.1.11",
"3.1.11-rc1",
"3.1.12",
"3.1.13",
"3.1.13-rc1",
"3.1.14",
"3.1.14-rc1",
"3.1.15",
"3.1.16",
"3.1.16-rc1",
"3.1.17",
"3.1.17-rc1",
"3.1.17-rc2",
"3.1.18",
"3.1.18-rc1",
"3.1.18-rc2",
"3.1.19",
"3.1.19-rc1",
"3.1.2",
"3.1.2-rc1",
"3.1.20",
"3.1.20-rc1",
"3.1.20-rc2",
"3.1.3",
"3.1.3-rc1",
"3.1.3-rc2",
"3.1.4",
"3.1.4-rc1",
"3.1.5",
"3.1.5-rc1",
"3.1.6",
"3.1.6-rc1",
"3.1.6-rc2",
"3.1.6-rc3",
"3.1.7",
"3.1.7-rc1",
"3.1.8",
"3.1.9",
"3.1.9-rc1"
]
}From 3.2.0-rc1 before 3.2.6
Fixed in 3.2.6
17 explicitly affected versions
3.2.0, 3.2.0-rc1, 3.2.0-rc2, 3.2.1, 3.2.1-rc1, 3.2.1-rc2, 3.2.2, 3.2.2-rc1, 3.2.2-rc2, 3.2.3, 3.2.3-rc1, 3.2.3-rc2, 3.2.4, 3.2.4-rc1, 3.2.5, 3.2.5-rc1, 3.2.5-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.2.0-rc1"
},
{
"fixed": "3.2.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.0",
"3.2.0-rc1",
"3.2.0-rc2",
"3.2.1",
"3.2.1-rc1",
"3.2.1-rc2",
"3.2.2",
"3.2.2-rc1",
"3.2.2-rc2",
"3.2.3",
"3.2.3-rc1",
"3.2.3-rc2",
"3.2.4",
"3.2.4-rc1",
"3.2.5",
"3.2.5-rc1",
"3.2.5-rc2"
]
}From 3.3.0-rc1 before 3.3.4
Fixed in 3.3.4
12 explicitly affected versions
3.3.0, 3.3.0-rc1, 3.3.0-rc2, 3.3.0-rc3, 3.3.1, 3.3.1-rc1, 3.3.1-rc2, 3.3.2, 3.3.2-rc1, 3.3.3, 3.3.3-rc1, 3.3.3-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.3.0-rc1"
},
{
"fixed": "3.3.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.3.0",
"3.3.0-rc1",
"3.3.0-rc2",
"3.3.0-rc3",
"3.3.1",
"3.3.1-rc1",
"3.3.1-rc2",
"3.3.2",
"3.3.2-rc1",
"3.3.3",
"3.3.3-rc1",
"3.3.3-rc2"
]
}From 3.4.0-rc1 before 3.4.2
Fixed in 3.4.2
5 explicitly affected versions
3.4.0, 3.4.0-rc1, 3.4.1, 3.4.1-rc1, 3.4.1-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.4.0-rc1"
},
{
"fixed": "3.4.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.0",
"3.4.0-rc1",
"3.4.1",
"3.4.1-rc1",
"3.4.1-rc2"
]
}References
- https://github.com/silverstripe/silverstripe-framework/commit/6b123fe1c93d3ac976f484192abc31cad4f81d47
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-016-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/ss-2016-016