Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-62416
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:21 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 16 Oct 2025, 18:32 UTC

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.

osv:CVE-2025-62416
Complete source record
{
  "id": "12c86b14ae7546f0f162f590189eb730cd3bc7a3f2ed6b60e420e2b7ae802cdb",
  "url": "https://osv.dev/vulnerability/CVE-2025-62416",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bagisto - Server Side Template Injection (SSTI) in Product Description",
    "summary": "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.",
    "evidence": "osv:CVE-2025-62416",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-62416",
      "aliases": [
        "CVE-2025-62416",
        "GHSA-527q-4wqv-g9wj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bagisto/bagisto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f033c5aa915a051614ff1b9bc83b8d3fd4cec9c1"
                },
                {
                  "fixed": "2886bcc0cd665116b7482f81d1ee87194f01702f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:webkul:bagisto:2.3.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7"
                      },
                      {
                        "last_affected": "2.3.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.7",
            "v2.3.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62416.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.284848996Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62416.json",
        "https://github.com/bagisto/bagisto/security/advisories/GHSA-527q-4wqv-g9wj",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-62416"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1336",
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62416.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-62416",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496324,
  "published_at": "2025-10-16T18:32:55.776+00:00"
}