5.3medium
PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-8gff-cf92-72pvPYSEC-2026-1844
Description
A vulnerability was found in PySpur-Dev pyspur up to 0.1.18. It has been classified as critical. Affected is the function SingleLLMCallNode of the file backend/pyspur/nodes/llm/single_llm_call.py of the component Jinja2 Template Handler. The manipulation of the argument user_message leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PySpur-Dev pyspur | 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7 and 11 more | CVE List |
| pyspur (PyPI) | up to 0.1.18 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
Classification
What each source says
CVE List
A vulnerability was found in PySpur-Dev pyspur up to 0.1.18. It has been classified as critical. Affected is the function SingleLLMCallNode of the file backend/pyspur/nodes/llm/single_llm_call.py of the component Jinja2 Template Handler. The manipulation of the argument user_message leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
CVE List (de)
Es wurde eine kritische Schwachstelle in PySpur-Dev pyspur bis 0.1.18 ausgemacht. Dabei betrifft es die Funktion SingleLLMCallNode der Datei backend/pyspur/nodes/llm/single_llm_call.py der Komponente Jinja2 Template Handler. Mittels Manipulieren des Arguments user_message mit unbekannten Daten kann eine improper neutralization of special elements used in a template engine-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung.
NVD (es)
Se encontró una vulnerabilidad en PySpur-Dev pyspur (hasta la versión 0.1.18). Se ha clasificado como crítica. La función SingleLLMCallNode del archivo backend/pyspur/nodes/llm/single_llm_call.py del componente Jinja2 Template Handler se ve afectada. La manipulación del argumento user_message provoca la neutralización incorrecta de elementos especiales utilizados en un motor de plantillas. Es posible ejecutar el ataque de forma remota. Se ha hecho público el exploit y puede que sea utilizado.
References
| https://vuldb.com/?id.313638 | technical-description, vdb-entry, web | |
| https://vuldb.com/?ctiid.313638 | permissions-required, signature, web | |
| https://vuldb.com/?submit.593612 | third-party-advisory, web | |
| https://github.com/PySpur-Dev/pyspur/issues/289 | exploit, issue-tracking, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6518 | advisory | |
| https://github.com/PySpur-Dev/pyspur | package | |
| https://pypi.org/project/pyspur | package | |
| https://github.com/advisories/GHSA-8gff-cf92-72pv | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6518 changed 2025-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8gff-cf92-72pv changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-6518 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1844 changed 2026-07-07 | CC-BY-4.0 |