What’s Vulnerable › Vulnerabilities
CVE-2026-28781: Craft Affected by Entries Authorship Spoofing via Mass Assignment
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-04 · updated 2026-06-17
- Weakness: CWE-639
Description
Craft is a content management system (CMS). Prior to 4.17.0-beta.1 and 5.9.0-beta.1, 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. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.
Affected products
- craftcms cms: from 4.0.0 (excl.) before 4.17.0; from 5.0.0 (excl.) before 5.9.0; 4.0.0, 4.0.0-rc1, 4.0.0-rc2, 4.0.0-rc3, 5.0.0, 5.0.0-rc1 — fixed in 4.17.0, 5.9.0
How to fix
Upgrade to a fixed version: craftcms cms 4.17.0, 5.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/commit/830b403870cd784b47ae42a3f5a16e7ac2d7f5a8
- https://github.com/craftcms/cms/commit/c6dcbdffaf6ab3ffe77d317336684d83699f4542
- https://github.com/craftcms/cms/security/advisories/GHSA-2xfc-g69j-x2mp
Get alerted when CVE-2026-28781 or the next vulnerability affects your stack