Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-64112

Statamic Vulnerable to Superadmin Account Takeover via Stored Cross-Site Scripting and Lack of Proper X-CSRF-TOKEN Server-Side Validation
Back to all
CVE

CVE-2025-64112

Statamic Vulnerable to Superadmin Account Takeover via Stored Cross-Site Scripting and Lack of Proper X-CSRF-TOKEN Server-Side Validation

Impact

Stored XSS vulnerabilities in Collections and Taxonomies allow authenticated users with content creation permissions to inject malicious JavaScript that executes when viewed by higher-privileged users.

This affects:

  • Control panel users with permission to create or edit Collections and Taxonomies
  • Versions up to and including 5.22.0

The vulnerability can be exploited to:

  • Change a super admin's password (versions ≤ 5.21.0)
  • Change a super admin's email address to initiate password reset (version 5.22.0)
  • Gain unauthorized access to superadmin accounts

The attack requires:

  • An authenticated user with control panel and content creation permissions
  • A super admin to view the compromised content

Patches

This has been fixed in 5.22.1.

Credits

Statamic thanks Wojtek Chwala for responsibly reporting the identified issues and working with us as we addressed them.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/statamic/cms/security/advisories/GHSA-g59r-24g3-h7cm, https://nvd.nist.gov/vuln/detail/CVE-2025-64112, https://github.com/statamic/cms/commit/e513751f433679ce698606e20c554a0c839987c1, https://github.com/statamic/cms, https://github.com/statamic/cms/releases/tag/v5.22.1

Severity

8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8
EPSS Probability
0.00046%
EPSS Percentile
0.13983%
Introduced Version
0
Fix Available
5.22.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading