craftcms/cms
Affected
- introduced
5.0.0-RC1, fixed5.9.0-beta.1(ecosystem)
Fixed versions
5.9.0-beta.1
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-28781
Craft CMS: Entries Authorship Spoofing via Mass Assignment
Description
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.
Proof of Concept
Prerequisites
1 for the default Admin).Steps to Reproduce
&authorIds[]=<Victim_ID>Impact
Resources
https://github.com/craftcms/cms/commit/c6dcbdffaf6ab3ffe77d317336684d83699f4542
https://github.com/craftcms/cms/commit/830b403870cd784b47ae42a3f5a16e7ac2d7f5a8
Medium Basis: The source's own band: MODERATE
5.0.0-RC1, fixed 5.9.0-beta.1 (ecosystem)5.9.0-beta.1
The export has no generic command for this ecosystem.
4.0.0-RC1, fixed 4.17.0-beta.1 (ecosystem)4.17.0-beta.1
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0