GHSA-mqf5-275h-gf6r: Silverstripe framework is vulnerable to XSS in install.php
6.1
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
5/23/2024
Updated
5/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
silverstripe/framework | composer | >= 3.1.0, < 3.1.14 | 3.1.14 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped output of user-controllable parameters (admin_username and admin_password) in the installation form template (config-form.html). The commit diff explicitly shows the addition of htmlspecialchars() to these echo statements in the patched version, confirming that the lack of output encoding in the original code allowed XSS payloads to render in the browser. These echo statements are the direct points of vulnerability.