Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-12790

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-12790
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:41 UTC · Revision 1

Source evidence

CVE-2020-12790

core-osv · Original source

Published 11 May 2020, 19:15 UTC

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.

osv:CVE-2020-12790
Complete source record
{
  "id": "826951c12f73e30853bc17af941ed0683caa72b1fd116fe567cb050f749b551b",
  "url": "https://osv.dev/vulnerability/CVE-2020-12790",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-12790",
    "summary": "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.",
    "evidence": "osv:CVE-2020-12790",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-12790",
      "aliases": [
        "CVE-2020-12790",
        "GHSA-23q7-59jj-2pj4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nystudio107/craft-seomatic",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "82f4a25b28fd622393da6592dc9e5ccee7fc5be3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nystudio107:seomatic:*:*:*:*:*:craft_cms:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.49"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "82f4a25b28fd622393da6592dc9e5ccee7fc5be3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "82f4a25b28fd622393da6592dc9e5ccee7fc5be3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.2.49"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.48",
            "3.2.47",
            "3.2.46",
            "3.2.45",
            "3.2.44",
            "3.2.43",
            "3.2.42",
            "3.2.41",
            "3.2.39",
            "3.2.38",
            "3.2.37",
            "3.2.36",
            "3.2.35",
            "3.2.34",
            "3.2.33",
            "3.2.32",
            "3.2.31",
            "3.2.30",
            "3.2.29",
            "3.2.28",
            "3.2.27",
            "3.2.26",
            "3.2.25",
            "3.2.24",
            "3.2.23",
            "3.2.22",
            "3.2.21",
            "3.2.20",
            "3.2.19",
            "3.2.18",
            "3.2.17",
            "3.2.16",
            "3.2.15",
            "3.2.14",
            "3.2.13",
            "3.2.12",
            "3.2.11",
            "3.2.10",
            "3.2.9",
            "3.2.8",
            "3.2.7",
            "3.2.6",
            "3.2.5",
            "3.2.4",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.50",
            "3.0.23",
            "3.0.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12790.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:08.145725661Z",
      "provider": "osv",
      "references": [
        "https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324",
        "https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49",
        "https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165",
        "https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-12790",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382479,
  "published_at": "2020-05-11T19:15:11.327+00:00"
}