CVE-2025-60880
PHP vulnerability analysis and mitigation

Overview

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. The vulnerability was discovered in August 2025 and was assigned CVE-2025-60880 in October 2025. The vulnerability affects the Bagisto e-commerce platform version 2.3.6, specifically within the admin panel's product creation functionality (GitHub POC).

Technical details

The vulnerability is classified as a stored Cross-Site Scripting (XSS) vulnerability with a CVSS v3.1 base score of 8.3 (High). The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H, indicating network attack vector, low attack complexity, high privileges required, and user interaction required. The vulnerability exists in the product creation path where SVG file uploads are not properly sanitized, allowing for the injection of malicious JavaScript code (AttackerKB, NVD).

Impact

The successful exploitation of this vulnerability can lead to session hijacking, data theft, and unauthorized actions within the admin panel. Due to the high privileges required (admin access), the impact is somewhat limited but still significant within the administrative context (GitHub POC).

Mitigation and workarounds

To mitigate this vulnerability, it is recommended to enforce strict input validation, content-type enforcement, and proper file handling. Organizations should restrict file uploads to trusted formats and implement proper sanitization of SVG files to remove potentially harmful content. Additionally, administrators should monitor and validate all file uploads in the admin panel (GitHub POC).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-60880HIGH8.3
  • PHPPHP
  • bagisto/bagisto
NoYesOct 10, 2025
CVE-2025-60868MEDIUM6.5
  • PHPPHP
  • alt-design/alt-redirect
NoYesOct 10, 2025
CVE-2025-61183MEDIUM6.1
  • PHPPHP
  • webreinvent/vaahcms
NoNoOct 08, 2025
CVE-2025-62365MEDIUM5.5
  • PHPPHP
  • librenms/librenms
NoYesOct 13, 2025
CVE-2025-11570MEDIUM4.8
  • PHPPHP
  • drupal-pattern-lab/unified-twig-extensions
NoNoOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management