Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-14716

A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because requests that don't match any elements incorrectly generate the canonicalUrl, and can lead to execution of Twig code.

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

Source evidence

CVE-2018-14716

core-osv · Original source

Published 6 Aug 2018, 20:29 UTC

A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because requests that don't match any elements incorrectly generate the canonicalUrl, and can lead to execution of Twig code.

osv:CVE-2018-14716
Complete source record
{
  "id": "b1d47a0897b0c54a8268e1fb13d78fdc3525326b632bffe314e7800c382e941a",
  "url": "https://osv.dev/vulnerability/CVE-2018-14716",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-14716",
    "summary": "A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because requests that don't match any elements incorrectly generate the canonicalUrl, and can lead to execution of Twig code.",
    "evidence": "osv:CVE-2018-14716",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-14716",
      "aliases": [
        "CVE-2018-14716",
        "GHSA-6j9m-rp7m-3gfg"
      ],
      "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": "8689e12017ee8dc488780bc918d4b17ecb77c569"
                },
                {
                  "fixed": "1e7d1d084ac3a89e7ec70620f2749110508d1ce1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nystudio107:seomatic:*:*:*:*:*:craft_cms:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1e7d1d084ac3a89e7ec70620f2749110508d1ce1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8689e12017ee8dc488780bc918d4b17ecb77c569"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.1.4"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.3",
            "3.1.2",
            "3.0.23",
            "3.0.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14716.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:50.041196638Z",
      "provider": "osv",
      "references": [
        "https://github.com/nystudio107/craft-seomatic/commit/1e7d1d084ac3a89e7ec70620f2749110508d1ce1",
        "https://twitter.com/nystudio107/status/1021847835418009605",
        "https://twitter.com/nystudio107/status/1021855169515057152",
        "https://github.com/nystudio107/craft-seomatic/releases/tag/3.1.4",
        "https://www.exploit-db.com/exploits/45108/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-14716",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380844,
  "published_at": "2018-08-06T20:29:01.49+00:00"
}