{"id":"CVE-2026-91111","aliases":["GHSA-xp2r-69xx-wgx3"],"status":"reserved","title":"silverstripe/userforms allows cross-site scripting through uploaded XML-based files","description":"### Impact\nA file containing script could be uploaded through a user-defined form file-upload field under an XML-based file extension. The file was served inline, so the script ran in the browser of a CMS user who opened the uploaded file.\n\n### Reported by\nJack Wallace from Bastion Security","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-12-03T22:32:00Z","modified":"2026-12-03T22:45:03Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/userforms","fixed_in":["7.1.4"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"silverstripe/assets","fixed_in":["3.2.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/userforms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/assets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/userforms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.4"}]}],"versions":["0.5.1","1.0.1","1.1.0-beta","2.0.1","2.0.1-rc1","2.0.10","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","3.0.0","3.0.0-beta1","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","4.0.0","4.0.1","4.1.0","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.5.7","4.5.8","4.6.0","4.6.1","4.6.2","4.6.3","5.0.0","5.0.0-beta1","5.0.0-beta2","5.0.1","5.0.2","5.1.0","5.1.1","5.10.0","5.10.0-alpha1","5.10.0-beta1","5.10.0-rc1","5.11.0","5.11.1","5.12.0","5.12.1","5.12.2","5.13.0","5.13.0-beta1","5.13.0-rc1","5.13.1","5.13.2","5.13.3","5.13.4","5.14.0","5.14.0-beta1","5.14.0-rc1","5.14.1","5.14.2","5.14.3","5.15.0","5.15.0-beta1","5.15.0-rc1","5.15.1","5.15.10","5.15.11","5.15.2","5.15.3","5.15.4","5.15.5","5.15.6","5.15.7","5.15.8","5.15.9","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.4.1","5.4.2","5.4.3","5.5.0","5.5.1","5.5.2","5.5.3","5.6.0","5.6.0-rc1","5.6.1","5.6.2","5.6.3","5.7.0","5.7.1","5.8.0","5.8.1","5.8.2","5.8.3","5.9.0","5.9.0-beta1","5.9.0-rc1","5.9.1","6.0.0","6.0.0-beta1","6.0.0-rc1","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.0.8","6.1.0","6.1.0-beta1","6.1.0-rc1","6.1.1","6.1.2","6.2.0","6.2.0-beta1","6.2.0-rc1","6.2.1","6.2.10","6.2.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9","6.3.0","6.3.0-beta1","6.3.0-rc1","6.3.1","6.3.2","6.4.0","6.4.0-beta1","6.4.0-rc1","6.4.1","6.4.10","6.4.2","6.4.3","6.4.4","6.4.5","6.4.6","6.4.7","6.4.8","6.4.9","7.0.0","7.0.0-alpha1","7.0.0-beta1","7.0.0-rc1","7.0.1","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.1.0","7.1.0-beta1","7.1.0-rc1","7.1.1","7.1.2","7.1.3","v5.9.2"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/assets","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"versions":["1.0.0","1.0.0-alpha6","1.0.0-alpha7","1.0.0-beta1","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","1.0.0-rc1","1.0.0-rc2","1.0.0-rc3","1.0.1","1.0.1-rc1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.0-rc1","1.1.0-rc2","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.10.0-beta1","1.10.0-rc1","1.10.1","1.11.0","1.11.0-beta1","1.11.0-rc1","1.11.1","1.12.0","1.12.0-beta1","1.12.0-rc1","1.12.1","1.13.0","1.13.0-beta1","1.13.0-rc1","1.13.1","1.13.10","1.13.11","1.13.12","1.13.2","1.13.3","1.13.4","1.13.5","1.13.6","1.13.7","1.13.8","1.13.9","1.2.0","1.2.0-beta1","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.3.0-rc1","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.0-rc1","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.5.0","1.5.0-alpha1","1.5.0-rc1","1.5.0-rc2","1.5.1","1.5.2","1.5.3","1.6.0","1.6.0-beta1","1.6.0-rc1","1.6.1","1.7.0","1.7.0-beta1","1.7.0-rc1","1.7.1","1.8.0","1.8.0-beta1","1.8.0-rc1","1.9.0","1.9.0-alpha1","1.9.0-beta1","1.9.0-rc1","2.0.0","2.0.0-alpha1","2.0.0-beta1","2.0.0-rc1","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.0-beta1","2.1.0-rc1","2.1.1","2.1.2","2.2.0","2.2.0-beta1","2.2.0-rc1","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.0-beta1","2.3.0-rc1","2.3.1","2.3.2","2.3.3","2.4.0","2.4.0-beta1","2.4.0-rc1","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","3.0.0","3.0.0-alpha1","3.0.0-beta1","3.0.0-rc1","3.0.1","3.1.0","3.1.0-beta1","3.1.0-rc1","3.1.1","3.1.2","3.1.3","3.2.0","3.2.0-beta1","3.2.0-rc1","3.2.1","3.2.2"]}],"references":[{"url":"https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-xp2r-69xx-wgx3","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-assets/pull/720","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-userforms/pull/1465","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-assets/commit/88750f95e8eafcae6ce41bc131056ca75d960d7f","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-userforms/commit/a2bd92d77f094e414258cd0e66e596a184c50bd0","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-91111.yaml","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-assets/releases/tag/3.2.3","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2026-91111","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xp2r-69xx-wgx3"},{"url":"https://github.com/silverstripe/silverstripe-userforms","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-xp2r-69xx-wgx3","title":"silverstripe/userforms allows cross-site scripting through uploaded XML-based files","description":"### Impact\nA file containing script could be uploaded through a user-defined form file-upload field under an XML-based file extension. The file was served inline, so the script ran in the browser of a CMS user who opened the uploaded file.\n\n### Reported by\nJack Wallace from Bastion Security","status":"published","published":"2026-12-03T22:32:00Z","modified":"2026-12-03T22:32:00Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-03T22:50:59.361471Z"}],"osv":[{"id":"GHSA-xp2r-69xx-wgx3","title":"silverstripe/userforms allows cross-site scripting through uploaded XML-based files","description":"### Impact\nA file containing script could be uploaded through a user-defined form file-upload field under an XML-based file extension. The file was served inline, so the script ran in the browser of a CMS user who opened the uploaded file.\n\n### Reported by\nJack Wallace from Bastion Security","status":"published","published":"2026-12-03T22:32:00Z","modified":"2026-12-03T22:45:03.853504255Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-03T23:17:06.676145Z"}]}}
