CVE-2025-25362 — Vulnerability in spacy-llm — CVE Details
Spacy-LLM Server-Side Template Injection (SSTI) vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.22%). Schedule for your next planned update.
Does your project use an affected spacy-llm version?
Paste your requirements.txt to check it for CVE-2025-25362 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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 (631 days ago).
- Last revised July 7, 2026 — 489 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "spacy-llm>=0.7.3"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| spacy-llm PyPI · Affected: 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.
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. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25362 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 68.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-128139HIGH
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
- CVE-2026-129222HIGH
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()