checkArrowFunction
src/web/twig/Extension.php
Last patched
Overview
checkArrowFunction in src/web/twig/Extension.php (craftcms/cms) was changed by 4 published CVE fixes between 2025 and 2026, in 6 distinct patches that added or removed 62 lines in total.
craftcms/cms has 103 CVEs with a located fix in total, so 4% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed checkArrowFunction, newest first, with the lines each fix touched.
CVE-2026-28784 · lines 111–115 · +1 −29
High · CVSS 8.6EPSS 0.6%2026-03-04CVE-2026-28783 · lines 111–115 · +1 −29
Critical · CVSS 9.4EPSS 0.5%2026-03-04CVE-2025-57811 · line 125 · +1 −0
Medium · CVSS 6.6EPSS 1.0%2025-08-25CVE-2025-46731 · line 124 · +1 −0
High · CVSS 7.3EPSS 1.5%2025-05-05
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.
- 1groupFiltersrc/web/twig/Extension.php3 patches · 3 CVEs2026
- 2createFunctionsrc/web/twig/Extension.php3 patches · 2 CVEs2026
- 3findFiltersrc/web/twig/Extension.php2 patches · 2 CVEs2026
- 4getFilterssrc/web/twig/Extension.php2 patches · 2 CVEs2026
- 5arraySomesrc/web/twig/Extension.php2 patches · 2 CVEs2026
- 6filterFiltersrc/web/twig/Extension.php2 patches · 2 CVEs2026
- 7sortFiltersrc/web/twig/Extension.php2 patches · 2 CVEs2026
- 8mapFiltersrc/web/twig/Extension.php2 patches · 2 CVEs2026
Other hotspots in the repository
Functions in craftcms/cms changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to checkArrowFunction.
- How many CVEs have patched checkArrowFunction?
- 4 published CVEs changed checkArrowFunction in craftcms/cms, in 6 distinct patches totalling 62 changed lines, between 2025 and 2026.
- What is the latest CVE that changed checkArrowFunction?
- CVE-2026-28784 (Craft is affected by potential authenticated Remote Code Execution via Twig SSTI), published 2026-03-04, changed lines 111 to 115 of src/web/twig/Extension.php.
- How does checkArrowFunction compare to the rest of craftcms/cms?
- craftcms/cms has 103 CVEs with a located fix in total; 4 of them changed checkArrowFunction.
- 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/web/twig/Extension.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.