CVE-2023-30331 Server-side template injection in beetl
Attackers can execute arbitrary code via server-side template injection in the Beetl Java template engine library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-30331?
CVE-2023-30331 is a critical code injection vulnerability in n/a, published on 4 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in the render function of beetl v3.15.0 allows attackers to execute server-side template injection (SSTI) via a crafted payload.
Which versions are affected by CVE-2023-30331?
2 open source packages ship an affected version, including com.ibeetl:beetl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.ibeetl:beetl Maven | All versions to 3.15.0.RELEASE | None |
com.ibeetl:beetl Maven | All versions to 3.15.0.RELEASE | None |
Products include Beetl Project Beetl.
How do I fix CVE-2023-30331?
No fix has been published for CVE-2023-30331 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-2023-30331 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30331 exists.
Sources
Also known as GHSA-m69h-4frq-vwq7.