# CVE-2020-12790: SEOmatic for CraftCMS allows Server-Side Template Injection

Source: https://junglewise.ai/threats/cve-2020-12790-seomatic-for-craftcms-allows-server-side-template-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-12790 · Severity: low · CVSS 3.1 · Published 2022-05-24

SEOmatic for CraftCMS allows Server-Side Template Injection

Technologies: [nystudio107/craft-seomatic (Packagist)](https://junglewise.ai/threats/technologies/nystudio107-craft-seomatic). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-12790 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-12790 being exploited in the wild.

**How severe is CVE-2020-12790?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** nystudio107/craft-seomatic (Packagist) ECOSYSTEM:introduced=0,fixed=3.2.49.

**Is there a fix for CVE-2020-12790?** Yes. nystudio107/craft-seomatic (Packagist): upgrade to 3.2.49 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-12790?** Check whether you run nystudio107/craft-seomatic (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- nystudio107/craft-seomatic (Packagist): upgrade to 3.2.49 or later

  ```sh
  composer require nystudio107/craft-seomatic:^3.2.49
  ```


## Affected products

- nystudio107/craft-seomatic (Packagist) ECOSYSTEM:introduced=0,fixed=3.2.49

## Identifiers

- CVE-2020-12790
- GHSA-23q7-59jj-2pj4

## Related threats

- [Code Injection in SEOmatic](https://junglewise.ai/threats/cve-2021-41749-code-injection-in-seomatic)
- [Cross-site Scripting in SEOmatic plugin](https://junglewise.ai/threats/cve-2021-41750-cross-site-scripting-in-seomatic-plugin)
- [SEOmatic for CraftCMS allows Server-Side Template Injection](https://junglewise.ai/threats/cve-2020-9757-seomatic-for-craftcms-allows-server-side-template-injection)
- [SEOmatic plugin for Craft CMS SSTI Vulnerability](https://junglewise.ai/threats/cve-2018-14716-seomatic-plugin-for-craft-cms-ssti-vulnerability)
- [Server-side Template Injection in nystudio107/craft-seomatic](https://junglewise.ai/threats/cve-2021-44618-server-side-template-injection-in-nystudio107-craft-seomatic)
