CVE-2023-30179

High

Description

CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Execution. NOTE: the vendor disputes this because only Administrators can add this Twig code, and (by design) Administrators are allowed to do that by default.

SeverityHigh
CVSS7.2
Exploit probability—
ProductCraftcms Craft Cms
PublishedJun 13, 2023
First seenJun 13, 2023

How to fix

Update
  • craftcms/cms4.4.2 or later

Affected products

ProductAffected versionsFixed in
craftcms craft_cms3.7.59—
craftcms/cmsPackagistv < 4.4.24.4.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.