CakePHP 4.5.12
Last reviewed Sep 24, 2026
Prompt Details
Prompt Composition
2prompts
- PHP 8.3119 lines · 5.8K tokens
- CakePHP 4.5.12103 lines · 4.4K tokens
Total222 lines · 10.2K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 88
- 89
- 93
- 95
- 98
- 113
- 117
- 187
- 201
- 203
- 208
- 209
- 214
- 250
- 252
- 256
- 295
- 306
- 307
- 319
- 323
- 327
- 328
- 338
- 340
- 352
- 354
- 362
- 367
- 377
- 384
- 390
- 409
- 434
- 470
- 502
- 522
- 524
- 532
- 552
- 601
- 611
- 613
- 614
- 627
- 639
- 647
- 674
- 698
- 732
- 759
- 760
- 770
- 776
- 778
- 798
- 807
- 829
- 862
- 915
- 916
- 918
- 940
- 942
- 1004
- 1021
- 1104
- 1275
- 1287
- 1333
- 1395
Prompt Preview
Apply the PHP 8.3 baseline first. These rules cover CakePHP 4.5.12, whose Composer requirement is >=7.4.0,<8.4; the selected PHP 8.3 baseline is within that range. Treat continued use of 4.5 as legacy maintenance because its published September 2026 security deadline has passed.
Patch level and lifecycle
- Lock
cakephp/cakephp, and any standalone split packages, incomposer.lock, and review each later framework release deliberately rather than assuming this prompt describes it. CakePHP delivers security fixes only as new patch releases of the minors its support table lists, and 4.5's published deadline has passed, so take later fixes by moving to 4.6 or a supported 5.x minor. - Check the actual installed packages in
composer.lock: the monolithiccakephp/cakephppackage replaces its split packages, while standalone use ofcakephp/databaserequires its own patched version. Audit authentication and authorization plugins separately. - Keep the PHP 8.3 runtime patched and respect the
<8.4upper bound; do not bypass Composer platform checks to install this release on PHP 8.4 or later. - Migrate to a release line with confirmed current security support. Require explicit support confirmation for continued 4.5 deployment; a separate maintenance extension for 4.6 does not establish support for this line.
Request canonicalization and middleware
- Establish proxy and host policy before routing, HTTPS enforcement, or absolute URL generation. Enable
trustProxyor callsetTrustedProxies()only behind an enforced trusted ingress; the latter enables trust and