high7.5
CVE-2020-12790
SEOmatic for CraftCMS allows Server-Side Template Injection
Impact
In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL. This leads to Server-Side Template Injection and credentials disclosure via a crafted Twig template after a semicolon.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | nystudio107/craft-seomatic | < 3.2.49 | 3.2.49 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nystudio107 | Seomatic | before 3.2.49 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165
- https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49
- https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt
- https://github.com/advisories/GHSA-23q7-59jj-2pj4
- https://nvd.nist.gov/vuln/detail/CVE-2020-12790
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3