GHSA-34q6-xqxh-gq39
6.1medium
Silverstripe XSS In rewritten hash links
- Severity
- 6.1medium CVSS:3.1 by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| silverstripe/framework (Packagist) | before 3.0.13, from 3.1.0 before 3.1.12 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-34q6-xqxh-gq39 changed 2024-11-28 | CC-BY-4.0 |