CVE-2020-28246 Server-Side Template Injection in formio

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
formio npmAll versions to 2.0.0None
formio npmAll versions to 2.0.0None

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.

Is CVE-2020-28246 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free