Intel

AIKIDO-2026-737795

statamic/cms is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-vx89-p3j7-8xqc Published 4 days ago

61

Medium Risk

This Affects:

PHPstatamic/cms
0.0.1 - 5.74.2
Fixed in 5.74.3
6.0.0 - 6.24.1
Fixed in 6.24.2
Are you affected? Scan for Free

TL;DR

Statamic's default (automagic) form notification email renders user-submitted form values without escaping them. An unauthenticated visitor who submits a public frontend form can inject HTML into the notification email delivered to the configured recipients. Before the fix these submitted values were placed into the email body unescaped, producing stored cross-site scripting against the recipients who open the email. The fix escapes submitted values when building the automagic notification email.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your site sends the default automagic email notification for a public frontend form.

Background info

statamic/cms is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 5.74.2 and 6.0.0 - 6.24.1.

How to fix this

Upgrade the statamic/cms library to the patch version.