getEditorHtml
src/elements/Entry.php
Last patched
Overview
getEditorHtml in src/elements/Entry.php (craftcms/cms) was changed by 1 published CVE fix in 2022, in 1 distinct patch that added or removed 73 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 getEditorHtml, newest first, with the lines each fix touched.
CVE-2022-37251 · lines 1382–1471 · +59 −14 in 2 hunks
Medium · CVSS 5.4EPSS 0.5%2022-09-16
Get an alert when the next CVE fix lands in craftcms/cms, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1prepElementQueryForTableAttributesrc/elements/Entry.php3 patches · 2 CVEs2026
- 2getTypesrc/elements/Entry.php2 patches · 1 CVE2026
- 3setAuthorIdsrc/elements/Entry.php2 patches · 1 CVE2026
- 4getAvailableEntryTypessrc/elements/Entry.php1 patch · 1 CVE2026
- 5getExpiryDatesrc/elements/Entry.php1 patch · 1 CVE2026
- 6attributeLabelssrc/elements/Entry.php1 patch · 1 CVE2026
- 7getSectionsrc/elements/Entry.php1 patch · 1 CVE2026
- 8normalizeAuthorIdsrc/elements/Entry.php1 patch · 1 CVE2026
Other hotspots in the repository
Functions in craftcms/cms changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to getEditorHtml.
- How many CVEs have patched getEditorHtml?
- 1 published CVEs changed getEditorHtml in craftcms/cms, in 1 distinct patches totalling 73 changed lines, between 2022 and 2022.
- What is the latest CVE that changed getEditorHtml?
- CVE-2022-37251 (Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts), published 2022-09-16, changed lines 1382 to 1471 of src/elements/Entry.php.
- How does getEditorHtml compare to the rest of craftcms/cms?
- craftcms/cms has 103 CVEs with a located fix in total; 1 of them changed getEditorHtml.
- 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.