Skip to content

Commit 2ca4e69

Browse files
1 parent 4a2c889 commit 2ca4e69

2 files changed

Lines changed: 164 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-f582-6gf6-gx4g",
4+
"modified": "2026-03-24T17:28:40Z",
5+
"published": "2026-03-24T17:28:40Z",
6+
"aliases": [
7+
"CVE-2026-33162"
8+
],
9+
"summary": "Craft CMS has an authorization bypass which allows any control panel user to move entries without permissions",
10+
"details": "### Summary\n\nAn authenticated control panel user with only accessCp can move entries across sections via POST `/actions/entries/move-to-section`, even when they do not have `saveEntries:{sectionUid}` permission for either source or destination section.\n\n### Details\n\n#### Root-cause analysis\n\n 1. actionMoveToSection accepts sectionId and entryIds, loads entries, and iterates:\n`Craft::$app->getEntries()->moveEntryToSection($entry, $section)`.\n 2. The endpoint does not enforce per-entry or per-section authorization checks.\n 3. `moveEntryToSection()` also does not enforce current-user authorization.\n 4. There is a permission check in `actionMoveToSectionModalData` for building UI options, but that check is not enforced in the actual endpoint.\n 5. Therefore, a direct POST request can bypass UI filtering and perform unauthorized entry moves.\n\n ### Impact\n\n* This is an authorization bypass permitting unauthorized content changes.\n* Authenticated low-privileged control panel users can move entries they should not be able to manage, violating integrity and potentially disrupting routing/editorial controls.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Packagist",
21+
"name": "craftcms/cms"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "5.3.0"
29+
},
30+
{
31+
"fixed": "5.9.14"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 5.9.13"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/craftcms/cms/security/advisories/GHSA-f582-6gf6-gx4g"
45+
},
46+
{
47+
"type": "WEB",
48+
"url": "https://github.com/craftcms/cms/commit/3c1ab1c4445dd9237855a66e6a06ecf3591a718e"
49+
},
50+
{
51+
"type": "PACKAGE",
52+
"url": "https://github.com/craftcms/cms"
53+
},
54+
{
55+
"type": "WEB",
56+
"url": "https://github.com/craftcms/cms/releases/tag/5.9.14"
57+
}
58+
],
59+
"database_specific": {
60+
"cwe_ids": [
61+
"CWE-285",
62+
"CWE-862"
63+
],
64+
"severity": "MODERATE",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-03-24T17:28:40Z",
67+
"nvd_published_at": null
68+
}
69+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-vgjg-248p-rfm2",
4+
"modified": "2026-03-24T17:27:17Z",
5+
"published": "2026-03-24T17:27:17Z",
6+
"aliases": [
7+
"CVE-2026-33161"
8+
],
9+
"summary": "Craft CMS' anonymous \"assets/image-editor\" calls return private asset editor metadata to unauthorized users",
10+
"details": "### Summary\n\nA low-privileged authenticated user can call `assets/image-editor` with the ID of a private asset they cannot view and still receive editor response data, including `focalPoint`.\n\nThe endpoint returns private editing metadata without per-asset authorization validation.\n\nRoot-cause analysis:\n\n1. `actionImageEditor()` accepts `assetId` from the request body.\n2. The asset is loaded, and the focal-point data is read.\n3. Response returns `html` and `focalPoint`.\n4. No explicit authorization check is applied before the response.\n\n### Impact\n\n## Affected deployments:\n\n* Craft sites where asset edit metadata should remain restricted to authorized users.\n\n## Security consequence:\n\n* Unauthorized users can extract private editor metadata and related editor context for inaccessible assets.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Packagist",
21+
"name": "craftcms/cms"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "5.0.0-RC1"
29+
},
30+
{
31+
"fixed": "5.9.14"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 5.9.13"
38+
}
39+
},
40+
{
41+
"package": {
42+
"ecosystem": "Packagist",
43+
"name": "craftcms/cms"
44+
},
45+
"ranges": [
46+
{
47+
"type": "ECOSYSTEM",
48+
"events": [
49+
{
50+
"introduced": "4.0.0-RC1"
51+
},
52+
{
53+
"fixed": "4.17.8"
54+
}
55+
]
56+
}
57+
],
58+
"database_specific": {
59+
"last_known_affected_version_range": "<= 4.17.7"
60+
}
61+
}
62+
],
63+
"references": [
64+
{
65+
"type": "WEB",
66+
"url": "https://github.com/craftcms/cms/security/advisories/GHSA-vgjg-248p-rfm2"
67+
},
68+
{
69+
"type": "WEB",
70+
"url": "https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27"
71+
},
72+
{
73+
"type": "PACKAGE",
74+
"url": "https://github.com/craftcms/cms"
75+
},
76+
{
77+
"type": "WEB",
78+
"url": "https://github.com/craftcms/cms/releases/tag/4.17.8"
79+
},
80+
{
81+
"type": "WEB",
82+
"url": "https://github.com/craftcms/cms/releases/tag/5.9.14"
83+
}
84+
],
85+
"database_specific": {
86+
"cwe_ids": [
87+
"CWE-200",
88+
"CWE-862"
89+
],
90+
"severity": "LOW",
91+
"github_reviewed": true,
92+
"github_reviewed_at": "2026-03-24T17:27:17Z",
93+
"nvd_published_at": null
94+
}
95+
}

0 commit comments

Comments
 (0)