# CVE-2025-60880: Bagisto is vulnerable to XSS through Admin Panel's product creation path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:L/PR:H/S:C/UI:R`
- **CVSS metrics:** Attack complexity: Low; Attack vector: Network; Availability impact: High; Confidentiality impact: High; Integrity impact: Low; Privileges required: High; Scope: Changed (impact reaches other components); User interaction: Required
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-29mf-w486-v3vc
- **Published:** 2025-10-10T00:00:00.000Z
- **Modified:** 2026-11-05T22:10:00.203Z

## Who should check

- Projects that depend on Packagist package bagisto/bagisto (\>= 2.3.6, \< 2.3.7)
- Anyone running n/a (versions: see the vendor advisory)

## Description

An authenticated stored XSS vulnerability exists in the Bagisto 2.3.6 admin panel's product creation path, allowing an attacker to upload a crafted SVG file containing malicious JavaScript code. This vulnerability can be exploited by an authenticated admin user to execute arbitrary JavaScript in the browser, potentially leading to session hijacking, data theft, or unauthorized actions.

## Affected and fixed versions

- Packagist `bagisto/bagisto`: affected \>= 2.3.6, \< 2.3.7; fixed 2.3.7 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade bagisto/bagisto to 2.3.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-60880. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-60880.md
Affected: bagisto/bagisto >= 2.3.6, < 2.3.7
Fixed in: 2.3.7

Steps:
1. Search this machine and project for bagisto/bagisto (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-60880 being exploited?

There is no confirmed exploitation: CVE-2025-60880 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-60880?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-60880?

bagisto/bagisto \>= 2.3.6, \< 2.3.7.

### Is there a fix for CVE-2025-60880?

Yes. Fixed in 2.3.7. Upgrade bagisto/bagisto to 2.3.7 or later.

### How do I check if I'm affected by CVE-2025-60880?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-60880>
- patch: <https://github.com/bagisto/bagisto/commit/9ec40c99c34a83f311ffbb7c1039a59ff9d655cc>
- exploit: <https://gist.github.com/daman-preet-singh/cd431f4c30a585bb87d3c69e4a8eec98>
- exploit: <https://github.com/Shenal01/CVE-2025-60880>
- other: <https://github.com/bagisto/bagisto>
- other: <https://github.com/darylldoyle/svg-sanitizer/releases>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-60880>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-29mf-w486-v3vc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-60880> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-60880>
