CVE-2023-30179: Code Injection

Published Jun 13, 2023
·
Updated

DISPUTED 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.

Other sources

Withdrawn This advisory has been withdrawn because the CVE has been disputed and the underlying vulnerability is likely invalid. This link is maintained to preserve external references.

According to maintainers of Craft CMS, only administrators can access Settings, and those administrators may have business needs for their permissions. Additionally, the underlying issue likely has little to no real-world security impact.

Original Description CraftCMS 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.

Affected Software

2 affected componentsFixes available
composer/craftcms/cms<4.4.2
4.4.2
Craft CMS=3.7.59

Event History

Jun 13, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Disputed
05:15 PM
Advisory Published
via GitHub·06:30 PM
Jun 28, 2023
Withdrawn
via GitHub·11:54 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-30179?

CVE-2023-30179 is a vulnerability in CraftCMS version 3.7.59 that allows an authenticated attacker to inject Twig templates and potentially execute remote code.

2

How severe is CVE-2023-30179?

CVE-2023-30179 has a severity rating of 7.2 out of 10, which is classified as high.

3

How does CVE-2023-30179 work?

CVE-2023-30179 allows an attacker to inject Twig templates into the User Photo Location field, potentially leading to remote code execution.

4

How can I fix CVE-2023-30179?

To fix CVE-2023-30179, you should update CraftCMS to a version that is not affected by the vulnerability.

5

Where can I find more information about CVE-2023-30179?

More information about CVE-2023-30179 can be found in the provided references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203