CVE-2025-64112 Statmatic vulnerable to Stored Cross-Site Scripting

High 8.0 Published Updated

Authenticated users can inject malicious JavaScript into Statamic CMS collections and taxonomies, leading to code execution or account takeover when viewed by privileged users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-64112?

CVE-2025-64112 is a high-severity cross-site scripting vulnerability in statamic cms, published on 30 Oct 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Statmatic is a Laravel and Git powered content management system (CMS). 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 vulnerability is fixed in 5.22.1.

Weakness: CWE-79

Which versions are affected by CVE-2025-64112?

2 open source packages ship an affected version, including statamic/cms.

PackageAffectedFixed in
statamic/cms PackagistAll versions5.22.1
statamic/cms PackagistAll versions5.22.1

How do I fix CVE-2025-64112?

Upgrade statamic/cms to 5.22.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-64112 being exploited?

There is no known exploitation of CVE-2025-64112 in the wild and no public exploit code.

Sources

Also known as GHSA-g59r-24g3-h7cm.

Is CVE-2025-64112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free