CVE-2021-44618 Server-side Template Injection in nystudio107/craft-seomatic
Attacker can execute arbitrary code via Server-side Template Injection in the Seomatic plugin using the Host header.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-44618?
CVE-2021-44618 is a critical code injection vulnerability in n/a, published on 11 Mar 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) vulnerability exists in Nystudio107 Seomatic 3.4.12 in src/helpers/UrlHelper.php via the host header.
Weakness: CWE-94
Which versions are affected by CVE-2021-44618?
2 open source packages ship an affected version, including nystudio107/craft-seomatic. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nystudio107/craft-seomatic Packagist | All versions | 3.4.12 |
nystudio107/craft-seomatic Packagist | All versions | 3.4.12 |
Products include Nystudio107 Seomatic.
How do I fix CVE-2021-44618?
Upgrade nystudio107/craft-seomatic to 3.4.12 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-44618 being exploited?
There is no known exploitation of CVE-2021-44618 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m3xv-x3ph-mq22.