# CVE-2021-41750: Cross-site Scripting in SEOmatic plugin

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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): 1.13%, higher than 66% of CVEs (2026-11-30)
- Published: 2022-06-12T11:29:00.000Z
- Modified: 2026-06-17T04:08:52.070Z
- Also known as: GHSA-6hjc-m38h-7jhh
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md> (release-notes, third-party-advisory, web)
- <https://github.com/nystudio107/craft-seomatic/commit/5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873> (patch, third-party-advisory, web)
- <https://github.com/nystudio107/craft-seomatic/commit/4e46b792ce973ac0c652fb330055f41aca1981c8> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41750> (advisory)
- <https://github.com/nystudio107/craft-seomatic> (package)

## Sources

- CVE List: [CVE-2021-41750](https://www.cve.org/CVERecord?id=CVE-2021-41750), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6hjc-m38h-7jhh](https://github.com/advisories/GHSA-6hjc-m38h-7jhh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-41750](https://nvd.nist.gov/vuln/detail/CVE-2021-41750), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41750 · Whole record: https://cve.day/CVE-2021-41750.json · Rebuilt by cve.day 2026-11-25T22:58:07.594Z
