CVE-2025-3804 thautwarm vscode-diana Jinja2 Template Gen.py injection
A local attacker can execute arbitrary code via injection in the Jinja2 template handler of the vscode-diana extension.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-3804?
CVE-2025-3804 is a medium-severity code injection vulnerability in thautwarm vscode-diana, published on 19 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability classified as critical has been found in thautwarm vscode-diana 0.0.1. Affected is an unknown function of the file Gen.py of the component Jinja2 Template Handler. The manipulation leads to injection. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-3804?
How do I fix CVE-2025-3804?
No fix has been published for CVE-2025-3804 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-3804 being exploited?
There is no known exploitation of CVE-2025-3804 in the wild and no public exploit code.
Sources
Also known as GHSA-3qcx-rj23-g86q.