CVE-2025-60880 Bagisto is vulnerable to XSS through Admin Panel's product creation path
Authenticated admin users can inject malicious JavaScript via crafted SVG uploads in Bagisto, leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-60880?
CVE-2025-60880 is a high-severity cross-site scripting vulnerability in n/a, published on 10 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-60880?
2 open source packages ship an affected version, including bagisto/bagisto. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bagisto/bagisto Packagist | From 2.3.6 | 2.3.7 |
bagisto/bagisto Packagist | From 2.3.6 | 2.3.7 |
Products include Webkul Bagisto.
How do I fix CVE-2025-60880?
Upgrade bagisto/bagisto to 2.3.7 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-60880 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-60880 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2026-21448 Bagisto has Normal & Blind SSTI from low-privilege user when ordering product
- CVE-2026-21446 Bagisto Missing Authentication on Installer API Endpoints
- CVE-2023-36237 Bagisto Cross-Site Request Forgery vulnerability
- CVE-2023-33570 Code injection in n/a
- CVE-2019-16403 Authorization Bypass Through User-Controlled Key in Bagisto
Sources
Also known as GHSA-29mf-w486-v3vc.