{"id":"CVE-2025-6518","aliases":["CVE-2025-6518","GHSA-8gff-cf92-72pv","PYSEC-2026-1844"],"related":[],"kind":"vulnerability","state":"published","title":"PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-06-23T19:00:11.222Z","modified":"2026-07-07T17:56:55.327Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-791","CWE-1336"],"affected":[{"ranges":[{"version":"0.1.0","status":"affected"},{"version":"0.1.1","status":"affected"},{"version":"0.1.2","status":"affected"},{"version":"0.1.3","status":"affected"},{"version":"0.1.4","status":"affected"},{"version":"0.1.5","status":"affected"},{"version":"0.1.6","status":"affected"},{"version":"0.1.7","status":"affected"},{"version":"0.1.8","status":"affected"},{"version":"0.1.9","status":"affected"},{"version":"0.1.10","status":"affected"},{"version":"0.1.11","status":"affected"},{"version":"0.1.12","status":"affected"},{"version":"0.1.13","status":"affected"},{"version":"0.1.14","status":"affected"},{"version":"0.1.15","status":"affected"},{"version":"0.1.16","status":"affected"},{"version":"0.1.17","status":"affected"},{"version":"0.1.18","status":"affected"}],"vendor":"PySpur-Dev","product":"pyspur","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1.18"}],"ecosystem":"PyPI","package":"pyspur","purl":"pkg:pypi/pyspur","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1.18"}],"ecosystem":"PyPI","package":"pyspur","purl":"pkg:pypi/pyspur","source":"pysec"}],"references":[{"url":"https://vuldb.com/?id.313638","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?ctiid.313638","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?submit.593612","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/PySpur-Dev/pyspur/issues/289","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6518","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/PySpur-Dev/pyspur","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pyspur","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-8gff-cf92-72pv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-06-23T19:25:21.263Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6518","url":"https://www.cve.org/CVERecord?id=CVE-2025-6518","licence":"CVE Terms of Use","modified":"2025-06-23T19:25:40.707Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8gff-cf92-72pv","url":"https://github.com/advisories/GHSA-8gff-cf92-72pv","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:55.327Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6518","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6518","licence":"Public domain","modified":"2026-06-17T10:02:03.763Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1844","url":"https://osv.dev/vulnerability/PYSEC-2026-1844","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:51.850Z"}],"updatedAt":"2026-11-25T22:58:59.534Z","epss":{"score":0.00415,"percentile":0.37821,"date":"2026-12-01T12:00:22.000Z"}}