Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. bagisto/bagisto
  4. ›
  5. CVE-2025-62416

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

October 16, 2025

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.

References

  • github.com/advisories/GHSA-527q-4wqv-g9wj
  • github.com/bagisto/bagisto
  • github.com/bagisto/bagisto/security/advisories/GHSA-527q-4wqv-g9wj
  • nvd.nist.gov/vuln/detail/CVE-2025-62416

Code Behaviors & Features

Detect and mitigate CVE-2025-62416 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.8

Fixed versions

  • 2.3.8

Solution

Upgrade to version 2.3.8 or above.

Impact 5.1 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/bagisto/bagisto/CVE-2025-62416.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 07 Nov 2025 00:19:02 +0000.