Silverstripe UserForms
CVE-2026-91111
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate public userforms file-upload field
-
DeliveryUpload XML/SVG file containing inline script
-
ExploitFile stored and served inline
-
ExecutionCMS user opens uploaded file
-
ImpactScript executes in CMS origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The site must run Silverstripe userforms with a user-defined form that exposes a file-upload field accepting XML-based files (e.g. SVG); the patch tests indicate SVG/HTML are not uploadable by default, so this requires an operator to have added such extensions to the allowed upload list. The attacker (an anonymous form submitter per PR:N) uploads a file whose content is script under an XML-based extension; the unpatched asset store served it with inline disposition. Exploitation is further limited by UI:R: a CMS user must actively open the uploaded file in their browser for the script to run. The complete fix is upgrading to userforms 7.1.4 / assets 3.2.3, which force non-allowlisted types (including image/svg+xml) to download with X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none'; sandbox. |
| Impact | This is a CWE-79 cross-site scripting issue rated CVSS 6.1 (medium) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The network vector and PR:N reflect that an unauthenticated public form submitter can plant the payload, while UI:R and the scope change (S:C) capture that execution only occurs when a separate CMS user opens the file in their browser, running script in the CMS origin. No EPSS score, KEV listing, or PoC/exploit reference is present in the input, so no exploitation-probability or active-exploitation signal supports elevating urgency beyond the vendor's 'this_month' decision label. Two factors temper the AV:N/AC:L reading: the patch tests note that SVG/HTML are not uploadable by default ('svg and html are not uploadable by default, but plenty of projects add them'), so exploitation depends on an operator having widened allowed upload extensions, and UI:R requires a privileged CMS user to actually open the stored file. Net: a genuine but moderate stored-XSS risk, not an emergency - the medium CVSS, absence of exploitation signals, victim-interaction requirement, and non-default-configuration dependency all point to targeted abuse of configured sites rather than widespread opportunistic exploitation. |
| Exploit ScenarioDerived | An attacker submits a public Silverstripe userforms form that exposes a file-upload field, uploading an SVG or other XML-based file that carries an inline <script>. Because the file was served with inline disposition rather than forced as a download, the script executes in the browser of a CMS user who later opens the uploaded file, in the CMS origin. No public exploit code is identified in the provided sources; exploitation also depends on the site permitting such upload extensions and on a CMS user opening the file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
Stored cross-site scripting in Silverstripe UserForms (composer/silverstripe/userforms before 7.1.4, together with composer/silverstripe/assets before 3.2.3) allows an unauthenticated visitor to upload script-bearing content under an XML-based file extension through a user-defined form's file-upload field, which the asset store then served inline so the script executed in the browser of a CMS user who opened the file. Exploitation requires the site to expose such a form and to have added XML-based extensions (e.g. svg) to the allowed upload list, and it requires the CMS user to actively open the uploaded file (CVSS 3.1 6.1, AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). No public exploit code was identified at time of analysis, and vendor-released patches exist in UserForms 7.1.4 and silverstripe/assets 3.2.3.
RemediationAI
Vendor-released patch: upgrade to silverstripe/userforms 7.1.4 (https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4) and silverstripe/assets 3.2.3 (https://github.com/silverstripe/silverstripe-assets/releases/tag/3.2.3); the UserForms fix is implemented by raising its silverstripe/assets constraint to ^3.2.3, so both packages must be updated together. The patched asset store serves only allowlisted MIME types inline (image/*, audio/*, video/*, application/pdf, text/plain) and forces everything else, including image/svg+xml, to download with Content-Disposition: attachment, X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none'; sandbox. Until upgrading, the exposure can be reduced by removing XML-based extensions (svg, xml, kml and similar script-capable types) from the allowed upload extensions on user-defined form file-upload fields, which prevents the malicious upload rather than sanitising the response and may break legitimate uploads of those formats for form submitters; per the vendor, updating is the complete fix. Advisory: https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-xp2r-69xx-wgx3.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-79 (improper neutralisation of input during web page generation) manifesting as stored XSS through Silverstripe's asset delivery layer. Silverstripe's FlysystemAssetStore served protected file responses with only a private Cache-Control header, so a file whose detected MIME type is XML-based (image/svg+xml, application/xml, KML and similar) could be rendered inline by the browser; because MIME detection is influenced by the file extension, a script payload stored under such an extension became active content in the CMS origin. The upstream fix in silverstripe/assets PR 720 introduces an explicit inline allowlist (image/*, audio/*, video/*, application/pdf, text/plain) with a forbidden-inline list that overrides it for image/svg+xml, and serves everything else with Content-Disposition: attachment, plus X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none'; sandbox on file responses; unrecognised or empty MIME types fail closed. The accompanying tests in that PR show svg, html, csv, kml, xml and json being forced to download while png, jpeg, video, audio, pdf and plain text remain inline, and userforms PR 1465 simply raises the silverstripe/assets dependency constraint to ^3.2.3. Affected package coordinates per CPE are pkg:composer/silverstripe_userforms and pkg:composer/silverstripe_assets; the trigger is not further described in the available sources beyond the inline-serving behaviour.
Know when Silverstripe gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Anonymous public-form upload gives PR:N; a CMS user must open the file (UI:R); script runs in the CMS origin, so S:C with limited C/I and no availability impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)GitHub Advisory
More in Silverstripe
View allObject instantiation leading to remote code execution in Silverstripe Framework 6.x (6.0.0 through 6.2.12) allows the i1
security/MemberLoginForm.php in SilverStripe 3.0.3 supports login using a GET request, which makes it easier for remote
Privilege escalation in Silverstripe Framework prior to 6.2.13 lets a CMS user who holds only the CMS_ACCESS_SecurityAdm
SilverStripe CMS before 3.6.1 has XSS via an SVG document that is mishandled by (1) the Insert Media option in the conte
Open redirect vulnerability in SilverStripe CMS & Framework 3.1.13 allows remote attackers to redirect users to arbitrar
In SilverStripe through 4.3.3, a missing warning about leaving install.php in a public webroot can lead to unauthenticat
SQL injection vulnerability in silverstripe/restfulserver module 1.0.x before 1.0.9, 2.0.x before 2.0.4, and 2.1.x befor
All versions of SilverStripe 3 prior to 3.6.7 and 3.7.3, and all versions of SilverStripe 4 prior to 4.0.7, 4.1.5, 4.2.4
Cross-site scripting in Silverstripe Framework's 'Insert media from web' CMS feature allows a remote unauthenticated att
Stored cross-site scripting affects Silverstripe Framework versions prior to 6.2.13 because the framework's XssSanitiser
Stored cross-site scripting in Silverstripe Framework before 6.2.13 lets a CMS content author save HTML containing an SV
Silverstripe silverstripe/framework through 4.11.0, silverstripe/assets through 1.11.0, and silverstripe/asset-admin thr
GHSA-xp2r-69xx-wgx3
NVD
CVE.org
Exploit-DB