CVE-2025-25362 — Vulnerability in spacy-llm — CVE Details
HIGH
Spacy-LLM Server-Side Template Injection (SSTI) vulnerability
Published March 5, 2025Updated July 7, 2026Source: osv
Summary
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.
Advisory Timeline
- First published March 5, 2025 (586 days ago).
- Last revised July 7, 2026 — 489 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip
Update spacy-llm to 0.7.3 or laterpip install "spacy-llm>=0.7.3"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| spacy-llm | pypi | 0.1.0, 0.1.1, 0.1.2, 0.2.0 (+18 more) | 0.7.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1336
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-25362ADVISORY
- https://github.com/explosion/spacy-llm/issues/492WEB
- https://github.com/explosion/spacy-llm/pull/491WEB
- https://github.com/explosion/spacy-llm/commit/8bde0490cc1e9de9dd2e84480b7b5cd18a94d739WEB
- https://github.com/explosion/spacy-llmPACKAGE
- https://www.hacktivesecurity.com/blog/2025/04/01/cve-2025-25362-old-vulnerabilities-new-victims-breaking-llm-prompts-with-sstiWEB
Frequently Asked Questions
- What is CVE-2025-25362?
- Spacy-LLM Server-Side Template Injection (SSTI) vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-25362?
- CVE-2025-25362 affects spacy-llm. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25362 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-793v-gxfp-9q9h
PYSEC-2026-1934
Related CVEs
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-55541HIGH
PraisonAI: `--api-key` flag on `praisonai serve` is not properly enforced
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies