# SPA-CART CMS < 2.0.0 Stored Cross-Site Scripting

CVE record · `CVE-2024-58304`

- **Identifiers:** `CVE-2024-58304`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **CNA:** VulnCheck
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Technologies:** [SPA-CART CMS](https://agentprime.io/advisories/technology/spa-cart-cms.md)
- **Published:** 11 Dec 2025
- **Updated:** 8 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: VulnCheck) at 11 Dec 2025, 21:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: SPA-Cart. Product: SPA-CART CMS.
  - affected: `before 2.0.0` (semver)
  - Other versions: unaffected

## Machine-written summary

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

> SPA-Cart SPA-CART CMS versions before 2.0.0 contain a stored cross-site scripting flaw in the product description field. An attacker with administrator access can submit scripts through the product edit form, which then run in the browsers of other administrative users. No fix or workaround is listed in the source; upgrading to version 2.0.0 or later is the remedy.

Written 18 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.3 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`, from CNA (VulnCheck) (used for this record)
- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from CNA (VulnCheck)

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

## Timeline

- 11 Dec 2025, 21:40 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-58304)

## Sources

- [CVE List: CVE-2024-58304](https://www.cve.org/CVERecord?id=CVE-2024-58304)
- [NVD: CVE-2024-58304](https://nvd.nist.gov/vuln/detail/CVE-2024-58304)

### References from the CNA

- <https://github.com/olegkhorev/php-spa-cart/releases/tag/v2.0.0> (release-notes)
- <https://www.vulncheck.com/advisories/spa-cart-cms-stored-cross-site-scripting-via-product-description> (third-party-advisory)
- <https://www.exploit-db.com/exploits/51919> (exploit)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-58304>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-58304/>. Everything for agents: <https://agentprime.io/llms.txt>.
