explosion/spacy-llm · Security
Spacy-LLM Server-Side Template Injection (SSTI) vulnerability
- GHSA ID
- GHSA-793v-gxfp-9q9h
- CVE ID
- CVE-2025-25362
- Severity
- high
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Description
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-25362 ↗
- https://github.com/explosion/spacy-llm/issues/492 ↗
- https://github.com/explosion/spacy-llm/pull/491 ↗
- https://github.com/explosion/spacy-llm/commit/8bde0490cc1e9de9dd2e84480b7b5cd18a94d739 ↗
- https://www.hacktivesecurity.com/blog/2025/04/01/cve-2025-25362-old-vulnerabilities-new-victims-breaking-llm-prompts-with-ssti ↗
- https://github.com/advisories/GHSA-793v-gxfp-9q9h ↗