{"id":"CVE-2025-6518","published":"2025-06-23T19:00:11Z","modified":"2025-06-23T19:25:40Z","title":"PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine","vendor":"PySpur-Dev","product":"pyspur","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00685,"percentile":0.47796,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"},{"id":"CWE-791","name":"Incomplete Filtering of Special Elements"}],"references":[{"url":"https://vuldb.com/?id.313638","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.313638","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.593612","tags":["third-party-advisory"]},{"url":"https://github.com/PySpur-Dev/pyspur/issues/289","tags":["exploit","issue-tracking"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":9.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"pyspur-dev","affectedVersions":[{"vendor":"PySpur-Dev","product":"pyspur","versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-23T19:25:21.263632Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pyspur","vulnerableRanges":["<=0.1.18"],"patched":[],"from":["GHSA-8gff-cf92-72pv","PYSEC-2026-1844"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-28744","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/PySpur-Dev/pyspur/issues/289"]}