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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.19%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-11T18:08:04.000Z
- Modified: 2026-06-17T02:52:19.020Z
- Also known as: GHSA-23q7-59jj-2pj4
- Weaknesses: CWE-74
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nystudio107/craft-seomatic (Packagist): before 3.2.49
- nystudio107 seomatic: before 3.2.49

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt> (exploit, third-party-advisory, web)
- <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://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

- CVE List: [CVE-2020-12790](https://www.cve.org/CVERecord?id=CVE-2020-12790), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-23q7-59jj-2pj4](https://github.com/advisories/GHSA-23q7-59jj-2pj4), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-12790](https://nvd.nist.gov/vuln/detail/CVE-2020-12790), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12790 · Whole record: https://cve.day/CVE-2020-12790.json · Rebuilt by cve.day 2026-11-25T22:57:52.367Z
