Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. nystudio107/craft-seomatic
  4. ›
  5. CVE-2021-41749

CVE-2021-41749: Improper Control of Generation of Code ('Code Injection')

June 12, 2022 (updated June 17, 2022)

In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.

References

  • github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md
  • github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d
  • nvd.nist.gov/vuln/detail/CVE-2021-41749

Code Behaviors & Features

Detect and mitigate CVE-2021-41749 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.4.11

Fixed versions

  • 3.4.12

Solution

Upgrade to version 3.4.12 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/nystudio107/craft-seomatic/CVE-2021-41749.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:12 +0000.