setAuthorId
src/elements/Entry.php
Last patched
Overview
setAuthorId in craftcms/cms was changed by 1 published CVE fixes in 2026, in 2 distinct patches that added or removed 1 lines in total.
craftcms/cms has 103 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed setAuthorId, newest first, with the lines each fix touched.
CVE-2026-28697 · line 1259 · +1 −0
Critical · CVSS 9.4EPSS 1.1%2026-03-04
Get an alert when the next CVE fix lands in craftcms/cms, with the patched functions.
Monitor cms CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1prepElementQueryForTableAttributesrc/elements/Entry.php2 CVEs · 3 patches2026
- 2getTypesrc/elements/Entry.php1 CVEs · 2 patches2026
- 3defineRulessrc/elements/Entry.php1 CVEs · 1 patches2026
- 4getAvailableEntryTypessrc/elements/Entry.php1 CVEs · 1 patches2026
- 5getEditorHtmlsrc/elements/Entry.php1 CVEs · 1 patches2022
- 6attributeLabelssrc/elements/Entry.php1 CVEs · 1 patches2026
- 7getFieldLayoutsrc/elements/Entry.php1 CVEs · 1 patches2026
- 8getSectionsrc/elements/Entry.php1 CVEs · 1 patches2026
Other hotspots in the repository
Functions in craftcms/cms changed by the most CVE fixes.
Frequently asked questions
Common questions about CVE fixes to setAuthorId.
- How many CVEs have patched setAuthorId?
- 1 published CVEs changed setAuthorId in craftcms/cms, in 2 distinct patches totalling 1 changed lines, between 2026 and 2026.
- What is the latest CVE that changed setAuthorId?
- CVE-2026-28697 (Craft Affected by Authenticated RCE via "craft.app.fs.write()" in Twig Templates), published 2026-03-04, changed lines 1259 of src/elements/Entry.php.
- How does setAuthorId compare to the rest of craftcms/cms?
- craftcms/cms has 103 CVEs with a located fix in total; 1 of them changed setAuthorId.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- src/elements/Entry.php on GitHub (opens in a new tab)
- All patched functions in craftcms/cms
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track craftcms/cms CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.