Vulnerability · Published Jun 12, 2022 · Assigned by mitre
CVE-2021-41750
Medium 6.1
In plain English
A medium-severity security flaw in the nystudio107/craft-seomatic package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | nystudio107/craft-seomatic | 3.4.11 | GHSA-6hjc-m38h-7jhh |
Affected products (as reported)
References
- https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md x_refsource_MISC
- https://github.com/nystudio107/craft-seomatic/commit/5f2cdc7c39e0a4bfb60d2f84131508f0a87b2873 x_refsource_MISC
- https://github.com/nystudio107/craft-seomatic/commit/4e46b792ce973ac0c652fb330055f41aca1981c8 x_refsource_MISC