SEOmatic for CraftCMS allows Server-Side Template Injection
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | nystudio107/craft-seomatic | < 3.2.49 | 3.2.49 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12790
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165
- https://github.com/nystudio107/craft-seomatic
- https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324
- https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49
- https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-74- Platform
- Composer
- Package
nystudio107/craft-seomatic- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-23q7-59jj-2pj4 - CC BY 4.0
Vulnerability history: nystudio107/craft-seomatic
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 03.2022 06.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 3
- Medium 1
Disclosures per year
- 2022: 6
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
SEOmatic for CraftCMS allows Server-Side Template Injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.