MEDIUM6.1
GHSA-6hjc-m38h-7jhh
Cross-site Scripting in SEOmatic plugin
Quick fix
GHSA-6hjc-m38h-7jhh — nystudio107/craft-seomatic: upgrade to the fixed version with the command below.
composer require nystudio107/craft-seomatic:^3.4.11Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/nystudio107/craft-seomatic
Introduced in:
0Fixed in: 3.4.11Fix
composer require nystudio107/craft-seomatic:^3.4.11References
- https://nvd.nist.gov/vuln/detail/CVE-2021-41750[ADVISORY]
- https://github.com/nystudio107/craft-seomatic/commit/4e46b792ce973ac0c652fb330055f41aca1981c8[WEB]
- https://github.com/nystudio107/craft-seomatic/commit/5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873[WEB]
- https://github.com/nystudio107/craft-seomatic[PACKAGE]
- https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md[WEB]