CVE-2025-62416
bagisto - Server Side Template Injection (SSTI) in Product Description
Also known as GHSA-527q-4wqv-g9wj
Mitigation
- Upgrade bagisto/bagisto to 2.3.8 or later.
Who should check
- Projects that depend on Packagist package bagisto/bagisto (< 2.3.8)
- Anyone running bagisto < 2.3.8
Vulnerability facts
- Affected
- bagisto/bagisto < 2.3.8
- Fixed in
- 2.3.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 40, 2026-11-26)
- CWE
- CWE-94, CWE-1336
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist bagisto/bagisto | < 2.3.8 | 2.3.8 | osv |
| bagisto | < 2.3.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-62416. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-62416.md Affected: bagisto/bagisto < 2.3.8 Fixed in: 2.3.8 Steps: 1. Search this machine and project for bagisto/bagisto (Packagist), bagisto: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-62416 being exploited?
There is no confirmed exploitation: CVE-2025-62416 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-62416?
Medium: CVSS 5.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-62416?
bagisto/bagisto < 2.3.8.
Is there a fix for CVE-2025-62416?
Yes. Fixed in 2.3.8. Upgrade bagisto/bagisto to 2.3.8 or later.
How do I check if I'm affected by CVE-2025-62416?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.