CVE-2021-44618 Server-side Template Injection in nystudio107/craft-seomatic

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
nystudio107/craft-seomatic PackagistAll versions3.4.12
nystudio107/craft-seomatic PackagistAll versions3.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.

Sources

Also known as GHSA-m3xv-x3ph-mq22.

Is CVE-2021-44618 in your software?

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

Check your SBOMs for free