HIGH7.5
GHSA-23q7-59jj-2pj4
SEOmatic for CraftCMS allows Server-Side Template Injection
Quick fix
GHSA-23q7-59jj-2pj4 — nystudio107/craft-seomatic: upgrade to the fixed version with the command below.
composer require nystudio107/craft-seomatic:^3.2.49Details
In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL. This leads to Server-Side Template Injection and credentials disclosure via a crafted Twig template after a semicolon.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/nystudio107/craft-seomatic
Introduced in:
0Fixed in: 3.2.49Fix
composer require nystudio107/craft-seomatic:^3.2.49References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12790[ADVISORY]
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3[WEB]
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165[WEB]
- https://github.com/nystudio107/craft-seomatic[PACKAGE]
- https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324[WEB]
- https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49[WEB]
- https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt[WEB]