GitHub Advisoryadvisory · Packagist
GHSA-m8v7-x398-pxrf Silverstripe XSS in CMS Edit Page
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- silverstripe/framework
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-05-23
Affected packages
• Packagist silverstripe/framework: >= 3.1.18, < 3.1.19 → fixed in 3.1.19
• Packagist silverstripe/framework: >= 3.2.3, < 3.2.4 → fixed in 3.2.4
• Packagist silverstripe/framework: >= 3.3.1, < 3.3.2 → fixed in 3.3.2
Description
Due to a lack of parameter sanitisation a carefully crafted URL could be used to inject arbitrary HTML into the CMS Edit page.
An attacker could create a URL and share it with a site administrator to perform an attack.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/silverstripe/silverstripe-framework/commit/a24c8260b1d048dc6a0836eb1be9a1ca2056e770 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-004-1.yaml web
- https://github.com/silverstripe/silverstripe-framework package
- https://github.com/silverstripe/silverstripe-framework/commits/3.3.2 web
- https://www.silverstripe.org/download/security-releases/ss-2016-004 web