VDB
Sign up
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.9

Details

### 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.9
Fixcomposer require silverstripe/userforms:^6.4.9
Packagist/silverstripe/userforms
Introduced in: 7.0.0Fixed in: 7.0.7
Fixcomposer require silverstripe/userforms:^7.0.7
Packagist/silverstripe/userforms
Introduced in: 7.1.0Fixed in: 7.1.1
Fixcomposer require silverstripe/userforms:^7.1.1

References

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"]}'