~ / search / GHSA-crcq-738g-pqvc

GHSA-crcq-738g-pqvc

Craft CMS Potential Remote Code Execution via Twig SSTI

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-57811

Packages

EcosystemPackageAffectedFixed in
Packagist craftcms/cms >= 4.0.0-RC1, < 4.16.6 4.16.6
Packagist craftcms/cms >= 5.0.0-RC1, < 5.8.7 5.8.7

Details

As written in the advisory (Markdown source, shown as plain text).

Note that users must have administrator access to the Craft Control Panel, and [allowAdminChanges](https://craftcms.com/docs/5.x/reference/config/general.html#allowadminchanges) must be enabled for this to work, which is against Craft CMS' recommendations for any non-dev environment. https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production Note: This is a follow-up to [GHSA-f3cw-hg6r-chfv](https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv) Users should update to the patched versions (4.16.6 and 5.8.7) to mitigate the issue. Resources: https://github.com/craftcms/cms/pull/17612

References

External links from the advisory. They lead to third-party sites.