CVE-2026-54721
8.8Silverstripe · silverstripe-userforms
A code injection vulnerability in the Silverstripe UserForms module allows authenticated CMS users with specific permissions to execute arbitrary server-side code via the email recipient subject field.
Executive summary
A high-severity code injection vulnerability in the Silverstripe UserForms module allows authenticated users to execute arbitrary code, posing a critical risk to server integrity.
Vulnerability
This is an improper control of generation of code vulnerability (CWE-94) where the userform email recipient subject field fails to sanitize input. An authenticated CMS user with administrative permissions to configure form recipients can inject executable code that the server interprets, leading to full system compromise.
Business impact
The vulnerability carries a CVSS score of 8.8, reflecting its potential for total system compromise. Successful exploitation allows an attacker to gain remote code execution capabilities, which can lead to unauthorized data access, the installation of persistent backdoors, and total loss of availability for the affected CMS instance.
Remediation
Immediate Action: Upgrade the silverstripe-userforms module to version 6.4.9, 7.0.7, or 7.1.1 immediately to incorporate the necessary input sanitization patches.
Proactive Monitoring: Review CMS audit logs for any unusual activity or modifications to form configurations, particularly those involving email recipient settings.
Compensating Controls: Restrict CMS access to the UserForms configuration interface to only the most trusted administrative accounts, and ensure that server-side file permissions prevent the web user from executing unauthorized scripts.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the severity of this remote code execution vulnerability, organizations using the Silverstripe UserForms module must prioritize the update process. Administrators should verify their current version and apply the recommended patches immediately to neutralize the risk of unauthorized code execution.
Sources
- https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-g8wr-r2v2-vqc6
- https://github.com/silverstripe/silverstripe-userforms/pull/1441
- https://github.com/silverstripe/silverstripe-userforms/pull/1442
- https://github.com/silverstripe/silverstripe-userforms/commit/23c069866900c19b499bfa997d1e251e97491702
- https://github.com/silverstripe/silverstripe-userforms/commit/c55494ad7c717b199a3c1663b43a54db5d95604c
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/6.4.9
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.0.7
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.1