7.5high
SEOmatic for CraftCMS allows Server-Side Template Injection
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 2.19% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-23q7-59jj-2pj4
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| nystudio107/craft-seomatic (Packagist) | before 3.2.49 | GitHub Advisory Database |
| nystudio107 seomatic | before 3.2.49 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
En el plugin SEOmatic versiones anteriores a 3.2.49 para Craft CMS, el archivo helpers/DynamicMeta.php no sanea apropiadamente la URL. Esto conlleva a una Inyección de Plantilla del Lado del Servidor y a una divulgación de credenciales por medio de una plantilla Twig diseñada después de un punto y coma.
References
| https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49 | release-notes, third-party-advisory, web | |
| https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324 | release-notes, third-party-advisory, web | |
| https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt | exploit, third-party-advisory, web | |
| https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-12790 | advisory | |
| https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3 | web | |
| https://github.com/nystudio107/craft-seomatic | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-12790 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-23q7-59jj-2pj4 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2020-12790 changed 2026-06-17 | Public domain |