{"id":"CVE-2025-6518","state":"PUBLISHED","title":"PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine","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.","publishedAt":"2025-06-23T19:00:11.222Z","updatedAt":"2025-06-23T19:25:40.707Z","severity":{"score":5.3,"label":"Medium","version":"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","source":"VulDB"},"assigner":"VulDB","products":["PySpur-Dev pyspur"],"affected":[{"vendor":"PySpur-Dev","product":"pyspur","versions":[{"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"}],"modules":["Jinja2 Template Handler"]}],"references":["https://vuldb.com/?id.313638","https://vuldb.com/?ctiid.313638","https://vuldb.com/?submit.593612","https://github.com/PySpur-Dev/pyspur/issues/289"],"weaknesses":["CWE-1336","CWE-791"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6518.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-6518","state":"PUBLISHED","datePublished":"2025-06-23T19:00:11.222Z","dateUpdated":"2025-06-23T19:25:40.707Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-06-23T12:26:37.952Z"},"containers":{"cna":{"title":"PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"affected":[{"vendor":"PySpur-Dev","product":"pyspur","versions":[{"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"}],"modules":["Jinja2 Template Handler"]}],"references":[{"url":"https://vuldb.com/?id.313638","name":"VDB-313638 | PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.313638","name":"VDB-313638 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.593612","name":"Submit #593612 | PySpur-Dev pyspur <=v0.1.18 Remote Code Execute","tags":["third-party-advisory"]},{"url":"https://github.com/PySpur-Dev/pyspur/issues/289","tags":["exploit","issue-tracking"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":6.5,"vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","type":"CWE","lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine"}]},{"descriptions":[{"cweId":"CWE-791","type":"CWE","lang":"en","description":"Incomplete Filtering of Special Elements"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-06-23T19:00:11.222Z"},"timeline":[{"time":"2025-06-23T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-06-23T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-06-23T14:31:45.000Z","lang":"en","value":"VulDB entry last update"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-23T19:25:21.263632Z","id":"CVE-2025-6518","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-23T19:25:40.707Z"}}]}}}