{"id":"DEBIAN-CVE-2019-8341","details":"An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the \"source\" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing","modified":"2026-09-21T07:03:23.966127035Z","published":"2019-02-15T07:29:00.257Z","upstream":["CVE-2019-8341"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-8341"}],"affected":[{"package":{"name":"jinja2","ecosystem":"Debian:12","purl":"pkg:deb/debian/jinja2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.2-1","3.1.2-1+deb12u1","3.1.2-1+deb12u2","3.1.2-1+deb12u3","3.1.3-1","3.1.3-1.1","3.1.3-2","3.1.5-1","3.1.5-2","3.1.6-1","3.1.6-2","3.1.6-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-8341.json"}},{"package":{"name":"jinja2","ecosystem":"Debian:13","purl":"pkg:deb/debian/jinja2?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.6-1","3.1.6-2","3.1.6-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-8341.json"}},{"package":{"name":"jinja2","ecosystem":"Debian:14","purl":"pkg:deb/debian/jinja2?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.6-1","3.1.6-2","3.1.6-3"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-8341.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}