VDB
Sign up
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.11

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/nystudio107/craft-seomatic
Introduced in: 0Fixed in: 3.4.11
Fixcomposer require nystudio107/craft-seomatic:^3.4.11

References