# CVE-2025-25362: Spacy-LLM Server-Side Template Injection (SSTI) vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2025-03-05T00:00:00.000Z
- Modified: 2026-07-07T17:56:43.561Z
- Also known as: GHSA-793v-gxfp-9q9h, PYSEC-2026-1934
- Weaknesses: CWE-94, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- spacy-llm (PyPI): before 0.7.3

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/explosion/spacy-llm/issues/492> (web)
- <https://www.hacktivesecurity.com/blog/2025/04/01/cve-2025-25362-old-vulnerabilities-new-victims-breaking-llm-prompts-with-ssti/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25362> (advisory)
- <https://github.com/explosion/spacy-llm/pull/491> (web)
- <https://github.com/explosion/spacy-llm/commit/8bde0490cc1e9de9dd2e84480b7b5cd18a94d739> (web)
- <https://github.com/explosion/spacy-llm> (package)
- <https://www.hacktivesecurity.com/blog/2025/04/01/cve-2025-25362-old-vulnerabilities-new-victims-breaking-llm-prompts-with-ssti> (web)
- <https://pypi.org/project/spacy-llm> (package)
- <https://github.com/advisories/GHSA-793v-gxfp-9q9h> (advisory)

## Sources

- CVE List: [CVE-2025-25362](https://www.cve.org/CVERecord?id=CVE-2025-25362), CVE Terms of Use, modified 2025-04-08
- GitHub Advisory Database: [GHSA-793v-gxfp-9q9h](https://github.com/advisories/GHSA-793v-gxfp-9q9h), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-25362](https://nvd.nist.gov/vuln/detail/CVE-2025-25362), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1934](https://osv.dev/vulnerability/PYSEC-2026-1934), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-25362 · Whole record: https://cve.day/CVE-2025-25362.json · Rebuilt by cve.day 2026-11-25T22:58:55.001Z
