Vulnerability · Published Oct 16, 2025 · Assigned by GitHub_M

CVE-2025-62416bagisto - Server Side Template Injection (SSTI) in Product Description

Medium 5.1

In plain English

A medium-severity code injection in bagisto from bagisto. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.4%top 65.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Bagisto is an open source laravel eCommerce platform. Bagisto v2.3.7 is vulnerable to Server-Side Template Injection (SSTI) due to unsanitized user input being processed by the server-side templating engine when rendering product descriptions. This allows an attacker with product creation privileges to inject arbitrary template expressions that are evaluated by the backend — potentially leading to Remote Code Execution (RCE) on the server. This vulnerability is fixed in 2.3.8.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistbagisto/bagisto2.3.8GHSA-527q-4wqv-g9wj

Affected products (as reported)

VendorProductVersions
bagisto bagisto < 2.3.8

Weakness: CWE-94, CWE-1336 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L

References