Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41750
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:57 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-41750
Complete source record
{
"id": "b2a015d03dac5a63dc1612818f40081f185e8fdce121b04ea88b58ef3e51b272",
"url": "https://osv.dev/vulnerability/CVE-2021-41750",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41750",
"summary": "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.",
"evidence": "osv:CVE-2021-41750",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-41750",
"aliases": [
"CVE-2021-41750",
"GHSA-6hjc-m38h-7jhh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nystudio107/craft-seomatic",
"type": "GIT",
"events": [
{
"introduced": "21fd6077413ce82fcd0971a7524e027a7bb51e73"
},
{
"last_affected": "21fd6077413ce82fcd0971a7524e027a7bb51e73"
},
{
"fixed": "4e46b792ce973ac0c652fb330055f41aca1981c8"
},
{
"fixed": "5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nystudio107:seomatic:3.4.10:*:*:*:*:craft_cms:*:*",
"range": [
{
"introduced": "3.4.10"
},
{
"last_affected": "3.4.10"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "4e46b792ce973ac0c652fb330055f41aca1981c8"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.4.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41750.json"
}
}
],
"modified": "2026-10-20T10:54:58.976307437Z",
"provider": "osv",
"references": [
"https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md",
"https://github.com/nystudio107/craft-seomatic/commit/4e46b792ce973ac0c652fb330055f41aca1981c8",
"https://github.com/nystudio107/craft-seomatic/commit/5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41750",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386627,
"published_at": "2022-06-12T12:15:07.91+00:00"
}