# silverstripe/userforms vulnerable to remote code execution via userforms email subject

High severity, published 2026-08-27. Update silverstripe/userforms to the fixed version of your branch (6.4.9, 7.0.7, 7.1.1): composer update silverstripe/userforms.

Canonical URL: https://buzzphp.com/security/ghsa-g8wr-r2v2-vqc6 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.8) |
| Published | 2026-08-27 |
| Updated | 2026-08-27 |
| CVE | [CVE-2026-54721](https://nvd.nist.gov/vuln/detail/CVE-2026-54721) |
| GHSA | [GHSA-g8wr-r2v2-vqc6](https://github.com/advisories/GHSA-g8wr-r2v2-vqc6) |
| Weakness | CWE-20, CWE-94 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| silverstripe/userforms | < 6.4.9 or >= 7.0.0, < 7.0.7 or >= 7.1.0, < 7.1.1 | 6.4.9, 7.0.7, 7.1.1 |

## What to do

Update silverstripe/userforms to the fixed version of your branch (6.4.9, 7.0.7, 7.1.1): composer update silverstripe/userforms.

Check which version you run with `composer show silverstripe/userforms`, and every affected package with `composer audit`.

## About this advisory

Impact The userform email subject field in the CMS is vulnerable to a specially crafted payload being used to run arbitrary code on the server.

Reported by Jack Wallace from Bastion Security

## Links

- [GHSA-g8wr-r2v2-vqc6 on GitHub](https://github.com/advisories/GHSA-g8wr-r2v2-vqc6)
- [CVE-2026-54721 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-54721)
- [All Composer security advisories](https://buzzphp.com/security)
