CVE-2020-28246 Server-Side Template Injection in formio
Server-Side Template Injection in Form.io allows remote code execution via email template deletion, though vendor disputes exploitability due to admin-only access.
- 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-2020-28246?
CVE-2020-28246 is a critical code injection vulnerability in n/a, published on 31 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Server-Side Template Injection (SSTI) was discovered in Form.io 2.0.0. This leads to Remote Code Execution during deletion of the default Email template URL. NOTE: the email templating service was removed after 2020. Additionally, the vendor disputes this issue indicating this is sandboxed and only executable by admins.
Weakness: CWE-74
Which versions are affected by CVE-2020-28246?
2 open source packages ship an affected version, including formio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
formio npm | All versions to 2.0.0 | None |
formio npm | All versions to 2.0.0 | None |
Products include Form Form.io.
How do I fix CVE-2020-28246?
No fix has been published for CVE-2020-28246 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-2020-28246 being exploited?
There is no known exploitation of CVE-2020-28246 in the wild and no public exploit code.
Sources
Also known as GHSA-52vj-mr2j-f8jh.