PT-2025-42535

CVE-2025-62416

·

Published

2025-10-16

·

Updated

2025-10-16

Description by

CVSS 3.1
6.8
Medium
MetricsAV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Bagisto versions prior to 2.3.8
Description Bagisto is susceptible to Server-Side Template Injection (SSTI) because user-provided input isn't properly sanitized when processing product descriptions with the server-side templating engine. An attacker with product creation permissions can inject template expressions that the backend evaluates, potentially leading to Remote Code Execution (RCE). The product description field is passed to the view without adequate sanitization or escaping, allowing user data to execute arbitrary template code. Successful exploitation could allow attackers to execute arbitrary PHP code or system commands, read sensitive environment variables, API keys, or database credentials, deface the application, establish persistence, or escalate privileges.
Recommendations Update to Bagisto version 2.3.8 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-527Q-4WQV-G9WJ
Found an issue in the description? Have something to add? Feel free to write us 👾