silverstripe/userforms allows server-side template injection in email subjects
Published 3 Dec 2026 · Updated 3 Dec 2026
Affected packages
- Affected
- <6.4.10
- Fixed in
- 6.4.10
composer require silverstripe/userforms:^6.4.10- Affected
- >=7.0.0-alpha1 <7.1.4
- Fixed in
- 7.1.4
composer require silverstripe/userforms:^7.1.4- Affected
- 8.x-dev
- Fixed in
- No fix released
Which 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
The email subject of a user-defined form email recipient was rendered as a template when the form was submitted. A CMS author who can edit user defined forms could use template code in this field to run code on the server.
Patches
This vulnerability has no commit of its own to resolve it. Instead, the fix for SS-2026-001 also fixes it.
Reported by
Jack Wallace from Bastion Security
Is GHSA-8f3c-h6mw-83ch 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-91111silverstripe/userforms allows cross-site scripting through uploaded XML-based files · 3 Dec 2026
- MediumCVE-2026-88992silverstripe/userforms exposes restricted uploaded files through CSV export · 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-8f3c-h6mw-83ch
- Linkgithub.com/silverstripe/silverstripe-userforms/pull/1462
- Linkgithub.com/silverstripe/silverstripe-userforms/pull/1466
- Linkgithub.com/silverstripe/silverstripe-userforms/commit/ab4eb7d1a13bf654ffe24f0218e6c645fa443a9e
- Linkgithub.com/silverstripe/silverstripe-userforms/commit/d96ed13ca087c6048390485fe02b9a9505294c78
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-88991.yaml
- Packagegithub.com/silverstripe/silverstripe-userforms
- Linkgithub.com/silverstripe/silverstripe-userforms/blob/7fc4015000be4d45714b0f843400b8dfbacc76fb/code/Control/UserDefinedFormController.php
- Linkgithub.com/silverstripe/silverstripe-userforms/releases/tag/6.4.10
- Linkgithub.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4
- Linkwww.silverstripe.org/download/security-releases/cve-2026-88991
- Linkwww.silverstripe.org/download/security-releases/ss-2026-001
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.