CVE-2025-60880: Bagisto is vulnerable to XSS through Admin Panel's product creation path
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.
Published Oct 10, 2025 · Updated Oct 17, 2025
Affected packages
bagisto/bagisto
- Ecosystem
- Composer (PHP)
- Affected
- = 2.3.6
- Fixed in
- 2.3.7
- Check
composer show bagisto/bagisto
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-60880
- https://github.com/Shenal01/CVE-2025-60880
- https://github.com/bagisto/bagisto/commit/9ec40c99c34a83f311ffbb7c1039a59ff9d655cc
- https://github.com/darylldoyle/svg-sanitizer/releases
- https://gist.github.com/daman-preet-singh/cd431f4c30a585bb87d3c69e4a8eec98
- https://github.com/advisories/GHSA-29mf-w486-v3vc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-6744
Bagisto affected by Server-Side Request Forgery
low6.3No fixApr 21, 2026CVE-2026-6745
Bagisto affected by Cross-site Scripting
low3.5No fixApr 21, 2026CVE-2026-21446
Bagisto Missing Authentication on Installer API Endpoints
high9.8Jan 2, 2026CVE-2026-21447
Bagisto has IDOR in Customer Order Reorder Functionality
high7.1Jan 2, 2026CVE-2026-21448
Bagisto has Normal & Blind SSTI from low-privilege user when ordering product
high9.8Jan 2, 2026CVE-2026-21449
Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users
high8.8Jan 2, 2026
