---
id: CVE-2025-25362
aliases:
  - GHSA-793v-gxfp-9q9h
  - PYSEC-2026-1934
title: Spacy-LLM Server-Side Template Injection (SSTI) vulnerability
summary: Spacy-LLM Server-Side Template Injection (SSTI) vulnerability
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: spacy-llm
product: spacy-llm
ecosystem: pip
affected:
  - spacy-llm < 0.7.3
patched:
  - spacy-llm 0.7.3
published: '2025-03-05'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-793v-gxfp-9q9h'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-25362'
  - url: 'https://github.com/explosion/spacy-llm/issues/492'
  - url: 'https://github.com/explosion/spacy-llm/pull/491'
  - url: >-
      https://github.com/explosion/spacy-llm/commit/8bde0490cc1e9de9dd2e84480b7b5cd18a94d739
  - url: 'https://github.com/explosion/spacy-llm'
  - url: >-
      https://www.hacktivesecurity.com/blog/2025/04/01/cve-2025-25362-old-vulnerabilities-new-victims-breaking-llm-prompts-with-ssti
tags:
  - osv
  - pip
epss: 0.00796
epssPercentile: 0.54519
ingestedAt: '2026-07-08T18:25:46.813Z'
---

## Overview

A Server-Side Template Injection (SSTI) vulnerability in Spacy-LLM v0.7.2 allows attackers to execute arbitrary code via injecting a crafted payload into the template field.

## Affected packages

- `spacy-llm < 0.7.3`

## Remediation

Upgrade to a patched release:

- `spacy-llm 0.7.3`
