Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/craftcms/cms@4.17.0-beta.1
purl pkg:composer/craftcms/cms@4.17.0-beta.1
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (9)
Vulnerability Summary Aliases
VCID-4zfr-4pgf-zke4 Craft CMS Vulnerable to Authenticated RCE via "craft.app.fs.write()" in Twig Templates An authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the `craft.app.fs.write()` method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands. --- CVE-2026-28697
GHSA-v47q-jxvr-p68x
VCID-ccwe-z8nr-3qhq Craft CMS: GraphQL Asset Mutation Privilege Escalation Type: Privilege Escalation (CWE-269) Affected: Craft CMS 5.x (likely affects 4.x and 3.x as well) Location: `src/gql/resolvers/mutations/Asset.php lines 57-107` CVE-2026-25497
GHSA-fxp3-g6gw-4r4v
VCID-ch5h-xzgt-6kgs Craft CMS has Permission Bypass and IDOR in Duplicate Entry Action The "Duplicate" entry action does not properly verify if the user has permission to perform this action on the specific target elements. Even with only "View Entries" permission (where the "Duplicate" action is restricted in the UI), a user can bypass this restriction by sending a direct request. Furthermore, this vulnerability allows duplicating **other users' entries** by specifying their Entry IDs. Since Entry IDs are incremental, an attacker can trivially brute-force these IDs to duplicate and access restricted content across the system. CVE-2026-28782
GHSA-jxm3-pmm2-9gf6
VCID-ejv9-c3hf-jfax Craft CMS has Twig Function Blocklist Bypass Craft CMS implements a blocklist to prevent potentially dangerous PHP functions from being called via Twig non-Closure arrow functions. In order to be able to successfully execute this attack, you need to either have `allowAdminChanges` enabled on production, or a compromised admin account, or an account with access to the System Messages utility. Several PHP functions are not included in the blocklist, which could allow malicious actors with the required permissions to execute various types of payloads, including RCEs, arbitrary file reads, SSRFs, and SSTIs. Twig has already deprecated this behavior, and it will eventually be removed from Twig altogether. https://github.com/twigphp/Twig/blob/946ddeafa3c9f4ce279d1f34051af041db0e16f2/src/Extension/CoreExtension.php#L2096 This has been resolved in Craft 4.17.0 and 5.9.0, which removes the blocklist and disables all non-Clousure arrow functions in Twig globally via the `enableTwigSandbox` config setting. That setting is enabled by default on all new Craft projects. Existing Craft projects will need to enable the config setting to take advantage of it. Existing projects should update to the patched versions of 5.9.0 and 4.17.0 to mitigate the issue and enable the config setting. CVE-2026-28783
GHSA-5fvc-7894-ghp4
VCID-j9n2-1u2k-ckc5 Craft CMS has potential authenticated Remote Code Execution via Twig SSTI For this to work, the attacker 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, which is against Craft CMS' recommendations for any non-dev environment. https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production Alternatively, they can have a non-administrator account with `allowAdminChanges` disabled, but they must have access to the System Messages utility. It is possible to craft a malicious payload using the Twig `map` filter in text fields that accept Twig input under Settings in the Craft control panel or using the System Messages utility, which could lead to a RCE. Users should update to the patched versions (5.8.22 and 4.16.18) to mitigate the issue. References: https://github.com/craftcms/cms/pull/18208 CVE-2026-28784
GHSA-qc86-q28f-ggww
VCID-m28c-yq43-a7cq Craft CMS Vulnerable to Stored XSS in Settings Names and Field Options Stored XSS in multiple settings. Names/labels are rendered without sanitization via `checkbox.twig` template which uses `{{ label|raw }}`. --- GHSA-4mgv-366x-qxvx
VCID-mytj-88ea-73d9 Craft CMS Vulnerable to Authenticated RCE via Twig SSTI - create() function + Symfony Process gadget There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the `create()` Twig function combined with a Symfony Process gadget chain. This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7). CVE-2026-28695
GHSA-94rc-cqvm-m4pw
VCID-vg28-8erb-27ae Craft CMS: Entries Authorship Spoofing via Mass Assignment The entry creation process allows for **Mass Assignment** of the `authorId` attribute. A user with "Create Entries" permission can inject the `authorIds[]` (or `authorId`) parameter into the POST request, which the backend processes without verifying if the current user is authorized to assign authorship to others. Normally, this field is not present in the request for users without the necessary permissions. By manually adding this parameter, an attacker can attribute the new entry to any user, including Admins. This effectively "spoofs" the authorship. CVE-2026-28781
GHSA-2xfc-g69j-x2mp
VCID-zh94-u2by-xkg5 Craft CMS has IDOR via GraphQL @parseRefs The GraphQL directive `@parseRefs`, intended to parse internal reference tags (e.g., `{user:1:email}`), can be abused by both authenticated users and unauthenticated guests (if a Public Schema is enabled) to access sensitive attributes of any element in the CMS. The implementation in `Elements::parseRefs` fails to perform authorization checks, allowing attackers to read data they are not authorized to view. CVE-2026-28696
GHSA-7x43-mpfg-r9wj

Date Actor Action Vulnerability Source VulnerableCode Version
2026-05-31T10:56:04.220348+00:00 GithubOSV Importer Fixing VCID-zh94-u2by-xkg5 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7x43-mpfg-r9wj/GHSA-7x43-mpfg-r9wj.json 38.6.0
2026-05-31T10:56:04.026360+00:00 GithubOSV Importer Fixing VCID-4zfr-4pgf-zke4 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-v47q-jxvr-p68x/GHSA-v47q-jxvr-p68x.json 38.6.0
2026-05-31T10:55:39.507993+00:00 GithubOSV Importer Fixing VCID-ejv9-c3hf-jfax https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5fvc-7894-ghp4/GHSA-5fvc-7894-ghp4.json 38.6.0
2026-05-31T10:55:25.046020+00:00 GithubOSV Importer Fixing VCID-ch5h-xzgt-6kgs https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jxm3-pmm2-9gf6/GHSA-jxm3-pmm2-9gf6.json 38.6.0
2026-05-31T10:55:21.099614+00:00 GithubOSV Importer Fixing VCID-m28c-yq43-a7cq https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4mgv-366x-qxvx/GHSA-4mgv-366x-qxvx.json 38.6.0
2026-05-31T10:55:05.990469+00:00 GithubOSV Importer Fixing VCID-vg28-8erb-27ae https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2xfc-g69j-x2mp/GHSA-2xfc-g69j-x2mp.json 38.6.0
2026-05-31T10:54:54.647448+00:00 GithubOSV Importer Fixing VCID-j9n2-1u2k-ckc5 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qc86-q28f-ggww/GHSA-qc86-q28f-ggww.json 38.6.0
2026-05-31T10:54:43.628866+00:00 GithubOSV Importer Fixing VCID-mytj-88ea-73d9 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-94rc-cqvm-m4pw/GHSA-94rc-cqvm-m4pw.json 38.6.0
2026-05-31T10:54:28.454209+00:00 GithubOSV Importer Fixing VCID-ccwe-z8nr-3qhq https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-fxp3-g6gw-4r4v/GHSA-fxp3-g6gw-4r4v.json 38.6.0
2026-05-31T01:08:08.737064+00:00 GHSA Importer Fixing VCID-j9n2-1u2k-ckc5 https://github.com/advisories/GHSA-qc86-q28f-ggww 38.6.0
2026-05-31T01:08:08.650605+00:00 GHSA Importer Fixing VCID-ch5h-xzgt-6kgs https://github.com/advisories/GHSA-jxm3-pmm2-9gf6 38.6.0
2026-05-31T01:08:08.577638+00:00 GHSA Importer Fixing VCID-ejv9-c3hf-jfax https://github.com/advisories/GHSA-5fvc-7894-ghp4 38.6.0
2026-05-31T01:08:08.459499+00:00 GHSA Importer Fixing VCID-vg28-8erb-27ae https://github.com/advisories/GHSA-2xfc-g69j-x2mp 38.6.0
2026-05-31T01:08:08.426181+00:00 GHSA Importer Fixing VCID-4zfr-4pgf-zke4 https://github.com/advisories/GHSA-v47q-jxvr-p68x 38.6.0
2026-05-31T01:08:08.152863+00:00 GHSA Importer Fixing VCID-m28c-yq43-a7cq https://github.com/advisories/GHSA-4mgv-366x-qxvx 38.6.0
2026-05-31T01:08:08.079021+00:00 GHSA Importer Fixing VCID-zh94-u2by-xkg5 https://github.com/advisories/GHSA-7x43-mpfg-r9wj 38.6.0
2026-05-31T01:08:08.021736+00:00 GHSA Importer Fixing VCID-mytj-88ea-73d9 https://github.com/advisories/GHSA-94rc-cqvm-m4pw 38.6.0
2026-05-31T01:07:16.293176+00:00 GHSA Importer Fixing VCID-ccwe-z8nr-3qhq https://github.com/advisories/GHSA-fxp3-g6gw-4r4v 38.6.0
2026-05-30T21:07:32.032249+00:00 GitLab Importer Fixing VCID-ch5h-xzgt-6kgs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28782.yml 38.6.0
2026-05-30T21:07:31.594645+00:00 GitLab Importer Fixing VCID-vg28-8erb-27ae https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28781.yml 38.6.0
2026-05-30T21:07:30.280427+00:00 GitLab Importer Fixing VCID-j9n2-1u2k-ckc5 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28784.yml 38.6.0
2026-05-30T21:07:30.222479+00:00 GitLab Importer Fixing VCID-m28c-yq43-a7cq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/GHSA-4mgv-366x-qxvx.yml 38.6.0
2026-05-30T21:07:29.655905+00:00 GitLab Importer Fixing VCID-zh94-u2by-xkg5 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28696.yml 38.6.0
2026-05-30T21:07:28.856388+00:00 GitLab Importer Fixing VCID-mytj-88ea-73d9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28695.yml 38.6.0
2026-05-30T21:07:26.836639+00:00 GitLab Importer Fixing VCID-ejv9-c3hf-jfax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28783.yml 38.6.0
2026-05-30T21:07:26.676729+00:00 GitLab Importer Fixing VCID-4zfr-4pgf-zke4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-28697.yml 38.6.0
2026-05-30T21:06:27.420225+00:00 GitLab Importer Fixing VCID-ccwe-z8nr-3qhq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/craftcms/cms/CVE-2026-25497.yml 38.6.0