GHSA-34q6-xqxh-gq39 Silverstripe XSS In rewritten hash links
MediumCVSS 6.1
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
A high level XSS vulnerability has been discovered in the SilverStripe framework which causes links containing hash anchors (E.g. href="#anchor") to be rewritten in an unsafe way.
The rewriteHashlinks option on SSViewer will rewrite these to contain the current url, although without adequate escaping, meaning that HTML could be injected via injecting unsafe values to any page via the querystring.
Due to the nature of this issue it is likely that a large number of SilverStripe sites are affected.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| silverstripe/framework(Packagist) | < 3.0.13; <= 3.0.12; = 2.4.9; = 2.4.10 +50 more | 3.0.13, 3.1.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| silverstripe/framework(Packagist) | < 3.0.13 | 3.0.13 |
| silverstripe/framework(Packagist) | = 2.4.10 | No fix listed |
| silverstripe/framework(Packagist) | = 2.4.11 | No fix listed |
| silverstripe/framework(Packagist) | = 2.4.12 | No fix listed |
| silverstripe/framework(Packagist) | = 2.4.13 | No fix listed |
| silverstripe/framework(Packagist) | = 2.4.9 | No fix listed |
| silverstripe/framework(Packagist) | = 2.5.0 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.10 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.10-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.11 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.11-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.12 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.2.1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.3 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.3-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.3-rc2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.4 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.5 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.6 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.6-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.6-rc2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.7 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.7-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.8 | No fix listed |
| silverstripe/framework(Packagist) | = 3.0.9 | No fix listed |
Show 29 more
| Product | Affected versions | Fixed in |
|---|---|---|
| silverstripe/framework(Packagist) | = 3.0.9-rc1 | No fix listed |
| silverstripe/framework(Packagist) | >= 3.1.0, < 3.1.12 | 3.1.12 |
| silverstripe/framework(Packagist) | = 3.1.0 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.10 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.10-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.10-rc2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.11 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.11-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.2-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.3 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.3-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.3-rc2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.4 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.4-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.5 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.5-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.6 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.6-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.6-rc2 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.6-rc3 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.7 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.7-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.8 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.9 | No fix listed |
| silverstripe/framework(Packagist) | = 3.1.9-rc1 | No fix listed |
| silverstripe/framework(Packagist) | <= 3.0.12 | No fix listed |
| silverstripe/framework(Packagist) | >= 3.1.0, <= 3.1.11 | No fix listed |
References
- github.com patch
- github.com patch
- github.com
- www.silverstripe.org
- github.com