MEDIUM6.1
GHSA-vx89-p3j7-8xqc
Statamic: Stored Cross-Site Scripting in Automagic Form Notification Email Template
Quick fix
GHSA-vx89-p3j7-8xqc — statamic/cms: upgrade to the fixed version with the command below.
composer require statamic/cms:^5.74.3Details
### Impact
The default ("automagic") form notification email rendered user-submitted values without escaping, allowing an unauthenticated form submitter to inject HTML into the notification emails sent to the configured recipients
### Patches
This has been fixed in 5.74.3 and 6.24.2.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/statamic/cms/security/advisories/GHSA-vx89-p3j7-8xqc[WEB]
- https://github.com/statamic/cms/pull/14959[WEB]
- https://github.com/statamic/cms/commit/4ad1335e818a67249d0617f0f167a1198fb96a2c[WEB]
- https://github.com/statamic/cms[PACKAGE]
- https://github.com/statamic/cms/releases/tag/v5.74.3[WEB]
- https://github.com/statamic/cms/releases/tag/v6.24.2[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/statamic/cms"]}'