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

High 8.3 Published Updated

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.

PackageAffectedFixed in
bagisto/bagisto PackagistFrom 2.3.62.3.7
bagisto/bagisto PackagistFrom 2.3.62.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.

Sources

Also known as GHSA-29mf-w486-v3vc.

Is CVE-2025-60880 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free