Silverstripe XSS In rewritten hash links
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | silverstripe/framework (Packagist) | before 3.0.13 | 3.0.13 | Patch available | GHSA-34q6-xqxh-gq39 |
| — | silverstripe/framework (Packagist) | 3.1.0 to before 3.1.12 | 3.1.12 | Patch available | GHSA-34q6-xqxh-gq39 |
- silverstripe/framework (Packagist) Vendor— Affected before 3.0.13 Fixed in 3.0.13 Patch available GHSA-34q6-xqxh-gq39
- silverstripe/framework (Packagist) Vendor— Affected 3.1.0 to before 3.1.12 Fixed in 3.1.12 Patch available GHSA-34q6-xqxh-gq39
Remediation
- Fix · GHSA-34q6-xqxh-gq39 silverstripe/framework (Packagist) Fixed in 3.0.13 Advisory →
- Fix · GHSA-34q6-xqxh-gq39 silverstripe/framework (Packagist) Fixed in 3.1.12 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-34q6-xqxh-gq39
References
Other 4
- https://github.com/silverstripe/silverstripe-framework/commit/604c32871202064a4aa12c3b3fd58140231685e5
- https://github.com/silverstripe/silverstripe-framework/commit/bdef4fc7a548c7c243ff86f2db7c16f301a6f120
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-009-1.yaml
- https://www.silverstripe.org/software/download/security-releases/ss-2015-009-xss-in-rewritten-hash-links
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences