HIGH8.8
GHSA-g8wr-r2v2-vqc6
silverstripe/userforms vulnerable to remote code execution via userforms email subject
Quick fix
GHSA-g8wr-r2v2-vqc6 — silverstripe/userforms: upgrade to the fixed version with the command below.
composer require silverstripe/userforms:^6.4.9Details
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/userforms
Introduced in:
0Fixed in: 6.4.9Fix
composer require silverstripe/userforms:^6.4.9Packagist/silverstripe/userforms
Introduced in:
7.0.0Fixed in: 7.0.7Fix
composer require silverstripe/userforms:^7.0.7Packagist/silverstripe/userforms
Introduced in:
7.1.0Fixed in: 7.1.1Fix
composer require silverstripe/userforms:^7.1.1References
- https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-g8wr-r2v2-vqc6[WEB]
- https://github.com/silverstripe/silverstripe-userforms/pull/1441[WEB]
- https://github.com/silverstripe/silverstripe-userforms/pull/1442[WEB]
- https://github.com/silverstripe/silverstripe-userforms/commit/23c069866900c19b499bfa997d1e251e97491702[WEB]
- https://github.com/silverstripe/silverstripe-userforms/commit/c55494ad7c717b199a3c1663b43a54db5d95604c[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-54721.yaml[WEB]
- https://github.com/silverstripe/silverstripe-userforms[PACKAGE]
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/6.4.9[WEB]
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.0.7[WEB]
- https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.1[WEB]
- https://www.silverstripe.org/download/security-releases/cve-2026-54721[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/silverstripe/userforms"]}'