{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.4.10"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "21fd6077413ce82fcd0971a7524e027a7bb51e73"
            },
            {
              "fixed": "4e46b792ce973ac0c652fb330055f41aca1981c8"
            },
            {
              "fixed": "5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873"
            }
          ],
          "repo": "https://github.com/nystudio107/craft-seomatic",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A cross-site scripting (XSS) vulnerability in the SEOmatic plugin 3.4.10 for Craft CMS 3 allows remote attackers to inject arbitrary web script via a GET to /index.php?action=seomatic/file/seo-file-link with url parameter containing the base64 encoded URL of a malicious web page / file and fileName parameter containing an arbitrary filename with the intended content-type to be rendered in the user's browser as the extension.",
  "id": "CVE-2021-41750",
  "modified": "2026-04-01T23:07:51.235302086Z",
  "published": "2022-06-12T12:15:07.910Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nystudio107/craft-seomatic/commit/4e46b792ce973ac0c652fb330055f41aca1981c8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nystudio107/craft-seomatic/commit/5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}