silverstripe/userforms allows cross-site scripting through uploaded XML-based files
Published 3 Dec 2026 · Updated 3 Dec 2026
Affected packages
- Affected
- <7.1.4
- Fixed in
- 7.1.4
composer require silverstripe/userforms:^7.1.4- Affected
- <3.2.3
- Fixed in
- 3.2.3
composer require silverstripe/assets:^3.2.3Which silverstripe/userforms does your project really install?
Works for private projects: the file is read in memory to run the scan and then dropped. Also reads composer.json.
Public repo?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Details
Impact
A 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.
Reported by
Jack Wallace from Bastion Security
Is GHSA-xp2r-69xx-wgx3 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/userforms, and gives you the command that fixes it.
More advisories for silverstripe/userforms
- MediumCVE-2026-88992silverstripe/userforms exposes restricted uploaded files through CSV export · 3 Dec 2026
- HighCVE-2026-88991silverstripe/userforms allows server-side template injection in email subjects · 3 Dec 2026
- HighCVE-2026-54721silverstripe/userforms vulnerable to remote code execution via userforms email subject · 27 Aug 2026
- MediumGHSA-55pp-293f-3365silverstripe/userforms file upload exposure on UserForms module · 28 May 2024
- HighCVE-2020-9280SilverStripe Folders migrated from 3.x may be unsafe to upload to · 24 May 2022
References
- Linkgithub.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-xp2r-69xx-wgx3
- Linkgithub.com/silverstripe/silverstripe-assets/pull/720
- Linkgithub.com/silverstripe/silverstripe-userforms/pull/1465
- Linkgithub.com/silverstripe/silverstripe-assets/commit/88750f95e8eafcae6ce41bc131056ca75d960d7f
- Linkgithub.com/silverstripe/silverstripe-userforms/commit/a2bd92d77f094e414258cd0e66e596a184c50bd0
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-91111.yaml
- Linkgithub.com/silverstripe/silverstripe-assets/releases/tag/3.2.3
- Packagegithub.com/silverstripe/silverstripe-userforms
- Linkgithub.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4
- Linkwww.silverstripe.org/download/security-releases/cve-2026-91111
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.