# Statmic CMS vulnerable to account takeover via XSS and password reset link

Advisory record · `GHSA-vqxq-hvxw-9mv9`

- **Identifiers:** `GHSA-vqxq-hvxw-9mv9` · `CVE-2024-24570` · `PKSA-8pw7-xndm-5j7f`
- **State:** Confirmed
- **Severity:** CVSS 8.2 High
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html) · [CWE-80](https://cwe.mitre.org/data/definitions/80.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 1 Feb 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Feb 2024, 20:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `statamic/cms` (Packagist): affected `>=4.00, <4.46.0 || <3.4.17`; fixed in `4.46.0`, `3.4.17`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Statamic CMS (Packagist package statamic/cms) is vulnerable in versions before 3.4.17 and from 4.00 up to but not including 4.46.0. Uploaded HTML files disguised as jpg images can carry cross-site scripting through asset fields on front-end forms and in the control panel. An attacker who can upload such a file can, if an authorized user is made to run the script, potentially obtain that user's password reset token and take over their account. Upgrade to 3.4.17 or 4.46.0, which fix the XSS and disable the copy password reset link feature.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.2 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0073, the 55th percentile, on 24 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:03 UTC: First seen by agentprime
- 31 Oct 2026, 14:03 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vqxq-hvxw-9mv9)

## Sources

- [GitHub Advisory Database: GHSA-vqxq-hvxw-9mv9](https://github.com/advisories/GHSA-vqxq-hvxw-9mv9)
- [OSV: GHSA-vqxq-hvxw-9mv9](https://osv.dev/vulnerability/GHSA-vqxq-hvxw-9mv9)
- <https://github.com/statamic/cms/security/advisories/GHSA-vqxq-hvxw-9mv9>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24570>
- <https://github.com/statamic/cms>
- <http://packetstormsecurity.com/files/177133/Statamic-CMS-Cross-Site-Scripting.html>
- <http://seclists.org/fulldisclosure/2024/Feb/17>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vqxq-hvxw-9mv9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vqxq-hvxw-9mv9/>. Everything for agents: <https://agentprime.io/llms.txt>.
